Hacker News new | past | comments | ask | show | jobs | submit login

I noticed this too after using Coffeescript, going back to plain JS.

It's especially annoying when shuffling array elements or function parameter around: all items need to be separated by a colon, except for the last one, that must not have a trailing comma, making line swapping a nightmare. Drives me nuts.




> all items need to be separated by a colon, except for the last one, that must not have a trailing comma, making line swapping a nightmare

Then use a language which allows trailing commas in lists, param-lists, maps, e.g. grOOvy




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: