[Development] commas in ctor-init-lists

Marc Mutz marc.mutz at kdab.com
Fri Jun 3 13:53:55 CEST 2016

On Friday 03 June 2016 10:05:52 Edward Welbourne wrote:
>   if (somee.really(long.and.complicated, expression) || another.such(that,
> makes, the.line.too.long) || and.then.some.more())

To be perfectly blunt: such expressions shouldn't be allowed. Period. Neither 
with nor without line breaks. Such monsters should be subjected to Extract 
Method with extreme prejudice.


Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - Qt, C++ and OpenGL Experts

More information about the Development mailing list