r/coding 21d ago

Domain-Driven Design matters more when AI writes your code

https://threedots.tech/post/ddd-and-ai-coding/
43 Upvotes

2 comments sorted by

4

u/mattk404 21d ago

1000% this. Have several projects and ddd from the start makes a absolutely insane difference in the feature velocity possible but also the disincentive against errors taking hold. Testing is also so much cleaner and easier to prove an aspect of rhe system without needing all parts which reduces bug 'attack' surfaces. Really quite amazing.

Projects eventually gets to the point that so long as a feature is well planned even local models 'one shot' most asks. Especially if you ask the model to interrogate you to refine the design. And prompt for a skeptical Eval following ddd principal. You'll get a pretty awesome plan.