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

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 Summer 2026 batch! Applications are open till May 4

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

Search: