Re:Ask HN: Are we overcomplicating software development?
by flukus on Wednesday January 18, 2017 @07:18PM
(#13431815)
> Approaches like "let's inherit from ORM class and add business-related methods", in my experience, lead to total disaster.
I don't disagree, in fact I'd go further and say that data and logic should not be coupled, but this is the Active record pattern which is far from the only way to use an ORM, most ORM's won't even support this pattern by default.
I don't disagree, in fact I'd go further and say that data and logic should not be coupled, but this is the Active record pattern which is far from the only way to use an ORM, most ORM's won't even support this pattern by default.