3 ms·
SQL reminds me of COBOL. Even replacing some of the UPPERCASE words in SQL with C-like symbols would be nice.
by ape4 7y ago
SQL reminds me of COBOL. Even replacing some of the UPPERCASE words in SQL with C-like symbols would be nice.
- 1st1 7y ago> Even replacing some of the UPPERCASE words in SQL with C-like symbols would be nice. In EdgeQL the keywords are recognized in any case. It is a matter of personal style.
- notimetorelax 7y agoAs is SQL
- 1st1 7y agoYes, we are not debating that.
- gugagore 7y agoThey make this comparison in the post.
- darkpuma 7y agoIt's case insensitive, you can use lowercase if you like. The reason the UPPERCASE persists is frankly because most people like it that way. Or maybe I'm wrong about that and we're one preference cascade away from a major flip in public opinion. But personally, I rebelled against the UPPERCASE when I was first learning it, but I've since come to find the UPPERCASE to be quite comforting. I think it has a pleasing aesthetic quality, and I find it helps make large chunks of SQL less intimidating to read.
- int_19h 7y agoI think the main reason these days is that there's still a fair bit of SQL embedded in other languages, usually as string literals with placeholders. And then it provides a way to visually distinguish it from "normal" string literals.
- icedchai 7y agoYou know the keywords don't have to be in uppercase, right?
- 6nf 7y agoThat's just personal preference, in our shop we use lowercase for SQL reserved words.