this post was submitted on 19 Oct 2023
1724 points (98.8% liked)

Programmer Humor

32483 readers
530 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 1 year ago (21 children)

Same, I prefer lower case. Every other language has keywords in lower case, why do you need to shout when writing sql?

[–] [email protected] 21 points 1 year ago* (last edited 1 year ago) (16 children)

I understand it as an attempt to get very basic, manual syntax highlighting. If all you have is white text on black background, then I do see the value of making keywords easy to spot by putting them in all caps. And this probably made sense back when SQL was first developed, but it's 2023, any dev / data scientist not using a tool that gives you syntax highlighting seriously needs to get with the times

[–] [email protected] 3 points 1 year ago (1 children)

Also some people are color blind.

Also you might need to ssh in somewhere and vi some code or tail a log file where you don’t have color support.

[–] [email protected] 1 points 1 year ago

My ide isn't limited to color when it comes to highlighting, so being color blind generally shouldn't be a problem. Set keywords to underlined, bold, italic, whatever works for you.

Your other examples I can see, but at least at my work those are rare edge cases, and I'd rather optimize for the brunt of the work than for those. Of course at other places those might be much more of a concern.

load more comments (14 replies)
load more comments (18 replies)