3 ms·
In languages that don't allow trailing commas, I prefer this comma-first style. It makes it easy to avoid missing or extra commas, which shortens my feedback l
by kragen 8y ago
In languages that don't allow trailing commas, I prefer this comma-first style. It makes it easy to avoid missing or extra commas, which shortens my feedback loop a bit. But I usually don't use it, because a lot of people react the way you do, and I want you to be able to read and enjoy my code despite your irrational and bizarrely extreme prejudice.
- danbolt 8y agoI had never really thought about commas that way, but I can totally get why someone would want to use this style now. Thank you for taking the time to explain it!