Comment by waisbrot
8 hours ago
In my experience, ORMs save a little bit of writing SQL and then cost an unbounded quantity of time in debugging mysterious problems because knowing why a query is slow now requires understanding the DB, your own code, and also the ORM.
And also more loc than SQL usually. It's not even a deferred cost, it's at least slightly worse upfront