Hi all,

my personal opinion: e.g. I prefer a commas *before* the variable in ctor, because it simplifies editing of a code.

e.g.

{code}

Foo::Foo()

    : a,

      b,

      c

{code}

when I need to remove the 'c' variable, I need to remove and the ',' after 'b' too.

{code}

Foo::Foo()

    : a

    ,  b

   ,  c

{code}

but here I need to remove only whole line ',c' .. :)


Besides, it is consistent with :

{code}

int sum = a

    + b

    + c;


bool result = a

    || b

    || c;

{code}


BR,

Denis

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to