News for hackers. Stuff that matters.
Re:How about trailing commas in SQL? by johnnyballgame on Tuesday February 11, 2025 @03:46PM (#43018151)
Trailing commas are stupid no matter what language they are in.
Re:How about trailing commas in SQL? by dagss on Tuesday February 11, 2025 @03:49PM (#43018177)
I have the complete opposite view, it is stupid to not have them.

Whenever I edit JSON and SQL there is a lot of fiddling with commas when rearranging lines or adding new lines to the end of the list. In other languages I use (Go and TypeScript) there is no such fiddling.

Re:How about trailing commas in SQL? by aoeusnth1 on Tuesday February 11, 2025 @03:56PM (#43018255)
Because…