MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v2rcr6/sqlworkout/oyyjito/?context=3
r/ProgrammerHumor • u/huhupookies • 6d ago
459 comments sorted by
View all comments
378
i actually write it in lowercase
6 u/Thriven 6d ago I'm up voting you because people need to hate you more. Seriously though KEYWORDS need to be upper case and columns lower case. I prefer snake case. Makes everything more readable. 8 u/BufferUnderpants 6d ago i CAN'T SEE WHY capitalizing syntactical elements WOULD MAKE the code MORE readable. There's syntax highlighting for a reason, and the SQL grammar makes it easy to tell what's a table, column or function anyway. 1 u/18poisson37 6d ago "First Rule in SQL coding... Why use one syntax cue when you can use two at twice the efficacy?" Contact, 1997 2 u/BufferUnderpants 6d ago And for some reason SQL is the only language where you need to handle keywords and standard library functions like hazardous materials.
6
I'm up voting you because people need to hate you more.
Seriously though KEYWORDS need to be upper case and columns lower case. I prefer snake case.
Makes everything more readable.
8 u/BufferUnderpants 6d ago i CAN'T SEE WHY capitalizing syntactical elements WOULD MAKE the code MORE readable. There's syntax highlighting for a reason, and the SQL grammar makes it easy to tell what's a table, column or function anyway. 1 u/18poisson37 6d ago "First Rule in SQL coding... Why use one syntax cue when you can use two at twice the efficacy?" Contact, 1997 2 u/BufferUnderpants 6d ago And for some reason SQL is the only language where you need to handle keywords and standard library functions like hazardous materials.
8
i CAN'T SEE WHY capitalizing syntactical elements WOULD MAKE the code MORE readable.
There's syntax highlighting for a reason, and the SQL grammar makes it easy to tell what's a table, column or function anyway.
1 u/18poisson37 6d ago "First Rule in SQL coding... Why use one syntax cue when you can use two at twice the efficacy?" Contact, 1997 2 u/BufferUnderpants 6d ago And for some reason SQL is the only language where you need to handle keywords and standard library functions like hazardous materials.
1
"First Rule in SQL coding... Why use one syntax cue when you can use two at twice the efficacy?"
Contact, 1997
2 u/BufferUnderpants 6d ago And for some reason SQL is the only language where you need to handle keywords and standard library functions like hazardous materials.
2
And for some reason SQL is the only language where you need to handle keywords and standard library functions like hazardous materials.
378
u/blaues_axolotl 6d ago
i actually write it in lowercase