4 ms·
What’s the point of ORM code if you already have optimal SQL?
by babelfish 3y ago
What’s the point of ORM code if you already have optimal SQL?
- Uvix 3y agoIt still needs to turn the query results back into objects.
- hinkley 3y agoMore languages are getting destructuring semantics built into them. I think this problem is slowly taking care of itself. You write a query that renames everything to your struct names, or you write a mapping that does it, then let the programming language do its thing, instead of a third party library doing it. Essentially your code for talking to the database starts to look more and more like the code that deals with JSON responses, which all just look like quasi-idiomatic code in the programming language.
- hinkley 3y agoBecause you can't put the latest Hype Train item on your resume without it.