4 ms·
So many simple good ideas seem to come from Domain Driven Design.
by BoiledCabbage 7y ago
So many simple good ideas seem to come from Domain Driven Design.
- pacala 7y agoFeeling cranky today, lockdown and everything. This is an elementary interpreter, clumsily implemented because of all the object oriented cruft.
- quelltext 7y agoDon't you mean the Interpreter pattern /s
- agentultra 7y agoIndeed... in Haskell this can be implemented with a GADT and an evaluator which is really easy to express. Still useful to know the "pattern" regardless of OOP cruft, Javascript prototypes, or Haskell data types.
- deleted 7y ago[deleted]
- wpietri 7y agoYeah, Evans' book really changed the way I do a bunch of design. That software is infinitely flexible is generally great, but it can allow complexity to metastasize. Anchoring design to the domain, which tends to be pretty stable, can provide a lot of clarity. It does require taking an anthropological approach to one's users, but I think that pays off in all sorts of ways.