3 ms·
Am I alone in thinking SQL by itself is easier to understand and use than all indirection people like to stick on top of it?
by meepmorp 5y ago
Am I alone in thinking SQL by itself is easier to understand and use than all indirection people like to stick on top of it?
- stack_framer 5y agoYou are not alone. I prefer handwritten SQL over abstractions like ORMs.
- notriddle 5y agoFor cases where the query is truly static, I prefer to just write SQL. Building SQL queries by concatenations strings, however, should get you arrested for negligence. If you need a query builder, then you need a query builder.
- ironmagma 5y agoSometimes you need a query builder but one is not available. Heck, last I checked, BigQuery didn’t even do string quoting for you.
- LaserToy 5y agoGiven it is hard to understand SQL once jt reaches 100-200 lines, anything that bloats it just pure evil :)