3 ms·
1. This is not an unpopular opinion on HN, quite the opposite, I see comments like this every day 2. Don't attribute a failure of a programmer to the ORM. Tech
by kenforthewin 8y ago
1. This is not an unpopular opinion on HN, quite the opposite, I see comments like this every day
2. Don't attribute a failure of a programmer to the ORM. Tech like ORMs allow more people access to the underlying technology, yes. So there will be more errors like N+1. But that's not the purpose of ORM, just a side effect. The purpose is to speed development for those who have already learned SQL. Can't blame an N+1 error on the ORM unless it somehow prohibits you from addressing such a problem, which no modern ORM does.
- bjpbakker 8y ago> Don't attribute a failure of a programmer to the ORM While I sympathize with this, I would like ORMs to make it a lot harder to make these mistakes. Especially frameworks for dynamic languages (in my experience) have performance issues by default (and when following their docs). That should probably change.