News for hackers. Stuff that matters.
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.

Re:Ask HN: Are we overcomplicating software development? by spdionis on Thursday January 19, 2017 @01:21PM (#13438040)
Moreover this is a terrible pattern. I would never use an ORM like that. An ORM implemented using the DataMapper pattern is so much better.