Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Regarding JavaScript trailing commas.
>The reason you were once told trailing commas are bad is because they are invalid in EcmaScript 3.
I can imagine plenty of reasons people would have for avoiding trailing commas even after they became valid syntax.
The whole "consistency" section also feels like unnecessary snark.
Could you list a few?
>The reason you were once told trailing commas are bad is because they are invalid in EcmaScript 3.
I can imagine plenty of reasons people would have for avoiding trailing commas even after they became valid syntax.
The whole "consistency" section also feels like unnecessary snark.