Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Trailing commas are stupid no matter what language they are in.


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…




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: