|
|
|
|
|
by edwinnathaniel
4258 days ago
|
|
> Much like ORMs are a trap If that is the case, the same can be said with JavaScript, Rails, Ruby yes? (all of them looked simple yet you can screw up really bad, like awfully bad, like worse than Java complexity bad). I use ORM to do simple-to-medium complex queries enough to avoid N+1. My ORM also have tools around it to help me generate DDL from code as part of my build (of course one still have to ensure the generated DDL is correct with proper relationship and constraints and all that jazz, but my point stands). My ORM gives me the ability to write in either JPQL and SQL to do certain tasks like deleting a bunch of rows based on conditions. Those are handy enough. My ORM also helps me prevent against SQL injection attack too. How are these abilities are "traps" for me just as much as the C++ complexity are traps? |
|