News for hackers. Stuff that matters.
Re:Regarding JavaScript trailing commas by jchendy on Saturday April 09, 2016 @12:46AM (#11459966)
I don't actually know the history of JavaScript style, but I feel like this assertion is likely trivializing something more complex:

>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.

Re:Regarding JavaScript trailing commas by albedoa on Saturday April 09, 2016 @01:05AM (#11460012)
> I can imagine plenty of reasons people would have for avoiding trailing commas even after they became valid syntax.

Could you list a few?