DEV Community

Discussion on: How To Structure Your App In a Way That Scales.

Collapse
 
aschwin profile image
Aschwin Wesselius

True, DDD can help a lot in a sense of thinking into structured code. However, the pitfall (not only with DDD btw) is that decomposition (into structures) is most likely based on functional aspects.

Why is this a pitfall? Because it makes it prone to volatility of the business (rules). I suggest anyone to read the book Righting Software to understand more about this.

Doing decomposition right is a daunting task and few have mastered this.

Collapse
 
brokenthorn profile image
Paul-Sebastian Manole

Apps will always be prone to the volatility of the business rules. Doesn't mean it's a bad thing. It's just the way things are.

Thread Thread
 
aschwin profile image
Aschwin Wesselius • Edited

Who says it's a bad thing? I also just state that is how it is. This also means this should be taken into consideration while putting a system together if you want to be able to maintain the system later on.

If you look around hardly any system is build this way. If you look even further, this is where the systems start to fail. This means it is crucial to understand this fact.

I'm happy Juval Löwy wrote the book "Righting Software" so we can learn from his experience and hands on knowledge of decades building systems the right way. Systems build on time, on budget and with zero defects.

Thread Thread
 
brokenthorn profile image
Paul-Sebastian Manole

Cool... So is he the only one that wrote about how DDD system break down or whatever?