News for hackers. Stuff that matters.
Re:Against SQL by thrusong on Saturday July 10, 2021 @10:27AM (#27793538)
I completely agree with you. Is SQL perfect? No. Have I accepted and embraced it? Yes, because it'll get the job done.

I also happen to really dislike how the author hasn't capitalized the syntax like SELECT FROM WHERE or CREATE TABLE which, to me, poorly affects the legibility and therefore makes me less interested in reading the argument overall.

Re:Against SQL by MetaWhirledPeas on Saturday July 10, 2021 @10:35AM (#27793590)
Among the various languages I use, why is SQL the only one that favors ALL CAPS EVERYTHING? When writing ad hoc queries I ignore that convention just to be ornery.
Re:Against SQL by kybishop on Saturday July 10, 2021 @10:42AM (#27793638)
My honest take is that it's rare to name your tables and columns with all caps, whereas there are various cases where people do so with camelCase and snake_case.

In the end this makes spotting SQL-specific functions much clearer. I find it much easier to read SQL with this convention since my brain immediately knows when it's looking at context/project-specific data or a FUNCTION.

Re:Against SQL by Izkata on Saturday July 10, 2021 @03:30PM (#27795815)
HTML used to be the same, it fell out of practice at some point. The same may happen to SQL under the right circumstances.
Re:Against SQL by kinjba11 on Saturday July 10, 2021 @04:10PM (#27796096)
You're not alone. Myself and many coworkers don't feel the need to capitalize everything, preferring `select * from Table` to the shouting version `SELECT * FROM TABLE`. It ain't the 80s anymore, we can use lowercase.
Re:Against SQL by yen223 on Saturday July 10, 2021 @04:39PM (#27796273)
This reminds me, case sensitivity of identifiers (table names, column names etc) in SQL is a whole mess that can fill another blog post.
Re:Against SQL by bmn__ on Sunday July 11, 2021 @04:16AM (#27799230)
It's not 1960 any more. We have colour video. We are allowed to highlight syntax with colours instead of the less legible all caps.