3 ms·
Fair enough. Replace "wrong" with "generally considered a suboptimal idea".
by tjr 14y ago
Fair enough. Replace "wrong" with "generally considered a suboptimal idea".
- jrochkind1 14y agoStill, 'it depends'. Yeah, there are all sorts of reasons, depending on context (and plenty of people to argue all those reasons). Personally, I agree with OP that nobody should ever use an ORM as an excuse to not know SQL. You need to know SQL anyway. So, once we agree on that, your question "Is there any reason to use an ORM if I know SQL" (that's basically what you mean when you phrase it in the inverse "Is there any reason it would be suboptimal to NOT use an ORM", right?) -- basically just boils down to "Is there ever any reason to use an ORM?". A topic which is basically the equivalent editor/OS war of db-based web development on HN or reddit. Meaning it's an argument that can and does go on forever, and you can find in-depth treatments of in many other threads.
- tjr 13y agoThank you. I believe my question has been answered, even if I failed at expressing it the way I intended.