[Development] commas in ctor-init-lists

Thiago Macieira thiago.macieira at intel.com
Sat Jun 4 00:51:08 CEST 2016

On sexta-feira, 3 de junho de 2016 15:59:34 BRT Christian Kandeler wrote:
> This kind of thing is an abomination that should never ever be allowed, 
> regardless of other coding style considerations. You can hardly even 
> tell whether the code is syntactically correct in both cases, let alone 
> semantics.
> Factor out ifdefs into dedicated functions whenever possible. You'll be 
> glad you did, and even more so the people who have to read your code later.

Agreed. Like I said, #ifdefs are an eye-sore of their own and should be 
avoided as much as possible. Therefore, I don't consider them valid arguments 
for placing commas at the beginning of a line.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list