News for hackers. Stuff that matters.
Re:What ORMs have taught me: just learn SQL (2014) by zimpenfish on Monday December 18, 2017 @08:28AM (#15951432)
> How often is the ORM generating junk?

From what I've seen (couple of home-grown ones, Class::DBI, ActiveRecord), "more often than you want".

(I'm willing to admit they may not be class-beating examples. :)

Re:What ORMs have taught me: just learn SQL (2014) by scarface74 on Monday December 18, 2017 @08:53AM (#15951572)
I meant a good ORM. But then again, my definition of a good ORM is an ORM with a language that treats queries as a first class citizen. EF with Linq doesn't really act feel like a separate framework since Linq and Expressions are built into the language.
Re:What ORMs have taught me: just learn SQL (2014) by zaphar on Monday December 18, 2017 @09:11AM (#15951672)
Those are more of a query framework than an ORM. If that's your bar then most ORMs are going to fail to meet it.
Re:What ORMs have taught me: just learn SQL (2014) by scarface74 on Monday December 18, 2017 @09:49AM (#15951944)
How is it a "query framework"? Linq works with objects and the Linq expression provider treats the Linq as data that translates the objects to Sql at runtime. That is by definition an Object Relational Mapping.

Of course most ORMs do fall short because most languages don't have the powerful concept of "code as data".