2 ms·
In my view, ORM replace some type of bugs (SQL injections, wrong table/column names) with different type of bugs (inefficient queries, hard to debug). One of t
by yankput 3y ago
In my view, ORM replace some type of bugs (SQL injections, wrong table/column names) with different type of bugs (inefficient queries, hard to debug).
One of the things I really do hate about ORMs is that they usually try to be DB-agnostic, thus preventing you from actually leveraging powers of the underlying database. And that they always end up being really complex.
On the other hand, I hate string manipulation (that you sometimes need to do if you do some types of queries) and in general that by dropping to SQL, you are switching to a different language, that kind of sucks (nobody sane actually enjoys SQL syntax, I think).