News for hackers. Stuff that matters.
Re:3D Game Shaders for Beginners by kragen on Monday May 13, 2019 @04:51AM (#19897275)
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.
Re:3D Game Shaders for Beginners by danbolt on Monday May 13, 2019 @08:26PM (#19905540)
I 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!