Khalil Stemmler

khalilstemmler.com · Personal blog · on HN since 2017

Khalil Stemmler writes about software design and architecture, domain-driven design, clean Node.js and TypeScript.

What HN saysHN commenters point to him for domain-driven design in TypeScript and for command-query separation, and one reports a broken link on his site.
16HN people shared it
5linked it in comments
69stories submitted
856story points
4 months agolast shared
2017people per year2026

Most-shared posts

  1. 1
    How to Learn Software Design and Architecture
    4 people · 8 points · first shared 2019 · discussion on HN
  2. 2
  3. 3
  4. 4
    Clean Node.js Architecture
    2 people · 3 points · first shared 2019 · discussion on HN
  5. 5
  6. 6
    I Don't Use a DI Container
    2 people · 3 points · first shared 2019 · discussion on HN
  7. 7
  8. 8
  9. 9
    Value Objects – DDD with TypeScript
    1 people · 45 points · first shared 2019 · 17 comments on HN
  10. 10
  11. 11
    Clean and Consistent Express.js Controllers
    1 people · 14 points · first shared 2019 · 6 comments on HN
  12. 12
  13. 13
    Why Event-Based Systems?
    1 people · 8 points · first shared 2019 · 1 comments on HN
  14. 14
  15. 15
    Agentic Coding Is a Trap
    1 people · 5 points · first shared 2026 · discussion on HN

What HN people wrote when they linked it

scns · 2020-04-27
Khalil Stemmler has loads of articles about DDD in Typescript on his site: https://khalilstemmler.com/ He was writing a book about it too, which seems to be done: https://solidbook.io/ Not affiliated.
desultory · 2023-12-28
Nice article and the examples are much appreciated. I've read about this concept under the terms CQS and CQRS before. 1. https://khalilstemmler.com/articles/oop-design-principles/command-quer… 2. https://martinfowler.com/bliki/CQRS.html
xupybd · 2022-10-05
I think people underestimate how powerful a tool strong types can be. If you make illegal states impossible in the type system you get a class of tests effectively enforced by the compiler. https://fsharpforfunandprofit.com/posts/designing-with-types-making-il… https://khalilstemmler.com/articles/typescript-domain-driven-design/ma… https://erszcz.medium.com/make-illegal-states-unrepresentable-but-how-…
will_pseudonym · 2019-04-07
FYI, the link to "concrete classes" is incorrectly linking to https://khalilstemmler.com/articles/when-to-use-typescript-guide/wiki/… I assume the correct link should be pointing to https://khalilstemmler.com/wiki/concrete-class/

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