[Development] commas in ctor-init-lists

Andreas Aardal Hanssen andreas.aardal.hanssen at gmail.com
Wed Jun 1 15:16:01 CEST 2016


> Den 1. jun. 2016 kl. 15.06 skrev Mark Gaiser <markg85 at gmail.com>:
> ...
> Funny in the coding style you mention. For operators: "An operator at the end of the line is easy to miss if the editor is too narrow." The exact same could be said for commas at the end of the line.

Silly point, it's pretty much a given that there is a comma there, it's insignificant. But the precise operator makes all the difference.

+1 Marc, who cares if the diff is shorter or easier to read if the _code_ is hard to read. And butt-ugly code is hard to read. Code is easiest to read if it resembles English
, and commas at the beginning of a line just doesn't.

Andreas


More information about the Development mailing list