CodeOpinion

codeopinion.com · Personal blog · on HN since 2013

Derek Comartin writes CodeOpinion, covering software architecture, event-driven design, event sourcing, domain-driven design, and coupling and cohesion.

What HN saysA commenter praises Comartin for explaining technical ideas like event sourcing clearly and in plain English.
18HN people shared it
2linked it in comments
50stories submitted
458story points
11 months agolast shared
2013people per year2026

Most-shared posts

  1. 1
    SOLID? Nope, Just Coupling and Cohesion
    2 people · 6 points · first shared 2025 · discussion on HN
  2. 2
    Anti-patterns in event-driven architecture
    1 people · 243 points · first shared 2024 · 163 comments on HN
  3. 3
    Getting Started with Functional Programming in F#
    1 people · 145 points · first shared 2017 · 41 comments on HN
  4. 4
    Write Stable Code Using Coupling Metrics
    1 people · 3 points · first shared 2024 · discussion on HN
  5. 5
    Domain Driven Design: “What” Not “How”
    1 people · 3 points · first shared 2015 · discussion on HN
  6. 6
    Throw Out Your Dependency Injection Container
    1 people · 3 points · first shared 2015 · discussion on HN
  7. 7
    F# Learning Resources
    1 people · 2 points · first shared 2015 · discussion on HN
  8. 8
    Query Objects instead of Repositories
    1 people · 2 points · first shared 2015 · discussion on HN
  9. 9
    DRY principle is why your codebase sucks?
    1 people · 2 points · first shared 2025 · discussion on HN
  10. 10
    Decomposing CRUD to a Task Based UI
    1 people · 2 points · first shared 2021 · discussion on HN
  11. 11
    How-To Create OWIN Middleware
    1 people · 2 points · first shared 2015 · discussion on HN
  12. 12
    ConfigR: Look Mom, No XML
    1 people · 2 points · first shared 2015 · 1 comments on HN
  13. 13
    ASP.NET Self Host Static File Server
    1 people · 2 points · first shared 2015 · discussion on HN
  14. 14
    Optimistic Concurrency in DocumentDB
    1 people · 2 points · first shared 2017 · discussion on HN
  15. 15
    Simplify Your Code by Limiting Dependencies
    1 people · 2 points · first shared 2015 · discussion on HN

What HN people wrote when they linked it

jimbob45 · 2021-09-30
https://codeopinion.com/event-sourcing-example-explained-in-plain-engl… Derek Comartin does a great job explaining event sourcing on his site. I really like him for being able to easily explain fairly technical ideas like this. However, like others have said, this should be a tool reserved strategically for ideal situations, not a jackhammer for every task.
ta1243 · 2023-11-16
tzdata makes guesses (predictions) all the time -- every time in the future is a guess. There is no way to know that a government won't change DST dates, or even shift a country to a different timezone. Look at the whole Lebanon mess from earlier this year: If you had, at Mar 24 2023 10:00 UTC gone and created a meeting at 10AM Beirut on Mar 27th 2023 it would have been at 0800 UTC (based on the official Lebanon position that DST would not start until April 21st [0]), and you would have been wrong [1] Had you stored the datetime with location then you would have been fine. The tzdata community far know more about time than you do and make a good job at guessing what the time will be, but they still have to issue multiple updates each year due to changes from different governments. Take this update from 2021 when Fiji suspended DST for the following year https://mm.icann.org/pipermail/tz-announce/2021-October/000068.html "Assume for now that it will return next year" It's a guess. nobody in October 2021 could say for certain that Fiji would or would not have DST in 2023. This isn't controversial. Past dates can be problematic - especially from 50+ years ago (historical data may crop up which shows that a specific location had different UTC offset which means a historical update is needed), but for future dates all predictions of UTC offsets for geographic locations are a guess [2]. Hell you can't even store the tzdata location group (say Europe/London) because in…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close