2015-03-25 21:20 GMT-03:00 Thiago Macieira :
> On Monday 23 March 2015 05:51:26 Dirk Hohndel wrote:
> > > *ClassName::ClassName() :*
> > > *x(1),*
> > > *y(2),*
> > > *z(3)*
> > > *{*
> > > *}*
> >
> > This isn't readable for me. Possibly a mail formating issue.
>
> I thought it was just me...
>
>
On Monday 23 March 2015 05:51:26 Dirk Hohndel wrote:
> > *ClassName::ClassName() :*
> > *x(1),*
> > *y(2),*
> > *z(3)*
> > *{*
> > *}*
>
> This isn't readable for me. Possibly a mail formating issue.
I thought it was just me...
The original in HTML is:
ClassName::ClassName() :
x(1),
On Mon, Mar 23, 2015 at 09:44:33AM +0100, Boris Barbulovski wrote:
> or maybe like this:
>
> *ClassName::ClassName()*
> * : **x(1)*
> * , **y(2)*
> * , **z(3)*
> *{*
> *}*
>
> Benefits:
> * Members are aligned(easy to read)
> * Eazyer for adding new members to the end of the list(no need to worry
On Mon, Mar 23, 2015 at 12:59:39AM -0300, Marcos Cardinot wrote:
> Hello folks,
>
> It is just a naive discussion about coding style... =D
Our favorite topic :-)
> According to the CodingStyle.txt:
>
> *"- in a C++ constructor initialization list, the colon is on the same line
> and*
> * conti
or maybe like this:
*ClassName::ClassName()*
* : **x(1)*
* , **y(2)*
* , **z(3)*
*{*
*}*
Benefits:
* Members are aligned(easy to read)
* Eazyer for adding new members to the end of the list(no need to worry
about the comma to last entry)
br, Boris..
On Mon, Mar 23, 2015 at 4:59 AM, Marcos Cardi
Hello folks,
It is just a naive discussion about coding style... =D
According to the CodingStyle.txt:
*"- in a C++ constructor initialization list, the colon is on the same line
and*
* continuation lines are aligned as the rule above:*
* ClassName::ClassName() : x(1), y(2),*
* z(3)*
* {*
* }"*