Re:SQL is Agile
by steveklabnik on Friday December 28, 2012 @10:34PM
(#4981002)
> DRY is "Don't Repeat Yourself", not "Don't Repeat Ever".
It's actually "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system."
(this advances your point even further)
Code generation is a powerful DRY tool, not something it suggests avoiding!
I say that independent from the question of whether you should be using an ORM at all. If you are going to use it, either your ORM should come out of the DB or be responsible for creating the DB, either is fine, as long as you're not saying the same thing twice.