Hacker News new | ask | show | jobs
by johnnyballgame 486 days ago
Trailing commas are stupid no matter what language they are in.
2 comments

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.

Because…