Re:Regarding JavaScript trailing commas
by reustle on Saturday April 09, 2016 @12:39AM
(#11459946)
There is so much in programming that isn't necessarily directly in line with English, why are trailing commas any different?
[ Parent
| on HN ]
Re:Regarding JavaScript trailing commas
by mrspeaker on Saturday April 09, 2016 @12:45AM
(#11459963)
This was just my opinion, and it was not based on logic: I battled through and now I'm a happy trailing comma-er. But if I think about your question, I'd say the answer was because commas are the only part of coding that has a strong resemblance to written english in that you commonly use them to separate items a list.