DEV Community

Discussion on: Template Driven Development: Why it doesn't work

Collapse
 
barryosull profile image
Barry O Sullivan

Thanks for the comment Yaser.

You are completely correct, DDD helps us combat the idea of Template Driven Development. It comes at the problem from the opposite direction, putting the focus on the specifics of the Domain rather than generic patterns.

I think this is why so many people fall down when trying to apply DDD. They go into it and find the tactical patterns (VOs, entities, repos, etc...), which they then try to apply religiously, viewing them as templates for "good" system design. (I speak from experience here).

This is completely against DDD, which is about exploring concepts and language. The patterns are only really useful when they allow you to express the domain, otherwise they're just bloat.