6 ms·
What happened to the ORM? To my opinion, it was a bad solution to the wrong problem. For one, we're not that enamoured with objects anymore (what with functio
by coldtea 9y ago
What happened to the ORM?
To my opinion, it was a bad solution to the wrong problem.
For one, we're not that enamoured with objects anymore (what with functional programming, immutability, etc).
Second, SQL and DDL, being declarative, is both a higher abstraction that (at least) most ORMs, and offers more fine level control to the DB at the same time!
Third, people don't really switch databases that often, for the abstraction between different SQL syntaxes to matter.
- Scarblac 9y ago> Third, people don't really switch databases that often, for the abstraction between different SQL syntaxes to matter. But third-party libraries shouldn't assume any specific SQL database, so if you want libraries that can do database things, ORMs are very useful.
- TeMPOraL 9y agoThey can always do SQL abstraction without doing the object-relational mapping.
- MrBuddyCasino 9y agothis is what you want: http://www.jooq.org/ http://www.jooq.org/