Comment on Is there something better than SQL?

Kissaki@feddit.de ⁨11⁩ ⁨months⁩ ago

most programmers aren’t DB experts and the SQL they output is quite often terrible.

Isn’t that looking at it the wrong way / missing the point?

If you’re fine with simple queries, use an ORM of your tech stack. Once you have to understand querying performance and weigh usage patterns, constraints, and cache performance and size, then it’s not about SQL anymore. It’s about understanding the DBMS you use.

You may ask “why can’t I use a different language for the querying part of it”. But I haven’t seen anything better yet.

Having a common, well-understood, established, documented, inter-product compatible language has a lot of value.

Getting back to the original quote: I don’t think anything else would serve bad developers / non-experts any better.

source
Sort:hotnewtop