News for hackers. Stuff that matters.
Re:Value Objects – DDD with TypeScript by alanpetrel on Sunday April 07, 2019 @06:41PM (#19600410)
Ugh, applying DDD to TypeScript/client-side code just seems like over-engineering. DDD makes server-side code horrendously complex and difficult to maintain, I can't see it being any better here.
Re:Value Objects – DDD with TypeScript by enb on Sunday April 07, 2019 @07:42PM (#19600718)
The whole point of DDD is to reduce complexity by modeling the domain in such a way that you can change it. There are many times when DDD is a wrong choice for your given problem. Perhaps the code you've seen wasn't a good candidate for DDD.

But yes, I'm wary of too many base classes and libraries designed to help you manage your model. Don't use someone else's ValueObject type, instead, work out what makes sense for your model.

Re:Value Objects – DDD with TypeScript by stemmlerjs on Sunday April 07, 2019 @11:43PM (#19601828)
Love this response. Very well said.