Hacker News new | ask | show | jobs
by astrobe_ 1358 days ago
I've heard that ORMs are the "Vietnam" of CS [1]. The article is pretty old, is it still the case?

[1] https://blog.codinghorror.com/object-relational-mapping-is-t...

1 comments

Yes. Yes it is. So much so that I will, as much as possible, try to not use an ORM that creates queries for me.

Simple ORMs that map columns in rows to attributes or properties in an object are fine. ORMs that handle complex relationships and migrations and the rest (a la Entity Framework, Hibernate, ActiveRecord), are all pretty much a vote of no confidence from me in any project.