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

What's the point of allowing a trailing comma? A delimiter symbol is a delimiter symbol, be it a an opening curly brace or a comma between elements, and one can simply align delimeters.


The main point is to make git diffs smaller when adding or removing elements, I think.




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

Search: