❝ In Defense of ORMs
This time, I went back to 2011 to prove to myself (and hopefully, others too) that ORMs are still valuable:
[…] there is a fundamental parity mismatch between SQL and imperative code. It’s certainly valid that ORMs are one of the leakiest abstractions imaginable, and therefore they are poor abstractions on the continuum of abstraction quality. That’s a fundamental challenge of using SQL regardless of whether you are using an ORM or not. Writing your SQL by hand does nothing to address that, you still have to convert back and forth between imperative code and data structures to SQL and flat rows of data. The challenge of doing this well and creating a nice interface is the whole reason there are so many different ORMs and why they vary so widely in form and function.
Have something to say? Join the discussion below 👇
Want to explore instead? Fly with the time capsule 🛸