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

It allows each line to be completely independent of it’s neighbors; you can comment and/or add lines without needing to touch neighboring lines. Also, it makes it visually easy to spot missing commas. Give it a try sometime, it’s actually quite nice.



Wouldn't this also be solved by allowing trailing commas?


But they are not independent: first line doesn’t have one.


Also makes nice file diffs!


Wouldn't the same thing occur if it wasn't there at all?




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: