RE: Minor(?) style questions

2002-03-12 Thread Sander Striker
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eli >Marmor > Sent: 12 March 2002 12:39 > Sander Striker wrote: >> Consider: >> >> lines += 1; >> >> Which is the same as: >> >> lines++; >> >> Personally I am slowed down when I see this: >> >> ++lines; >> >> Because I am

Re: Minor(?) style questions

2002-03-12 Thread Eli Marmor
Sander Striker wrote: > >>> 1) Can we decide on a standard style when it comes to using > >>>++ or --? > >>> > >>>Example: > >>> > >>>lines++; > >>> > >>>vs. > >>> > >>>++lines; > >> > >> I prefer the latter. The first thing your eye sees is the increment, then > >> the variab

RE: Minor(?) style questions

2002-03-12 Thread Sander Striker
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eli >Marmor > Sent: 12 March 2002 11:43 > Greg Stein wrote: >> >> On Mon, Mar 11, 2002 at 11:55:07AM +0100, Sander Striker wrote: >>> 1) Can we decide on a standard style when it comes to using >>>++ or --? >>> >>>Example:

Re: Minor(?) style questions

2002-03-12 Thread Eli Marmor
Greg Stein wrote: > > On Mon, Mar 11, 2002 at 11:55:07AM +0100, Sander Striker wrote: > > 1) Can we decide on a standard style when it comes to using > >++ or --? > > > >Example: > > > >lines++; > > > >vs. > > > >++lines; > > I prefer the latter. The first thing your eye sees

Re: Minor(?) style questions

2002-03-11 Thread Justin Erenkrantz
On Mon, Mar 11, 2002 at 05:14:47PM -0800, Greg Stein wrote: > As with Bill and Jeff, I'd put #2 into the style guide, and leave the others > out. 1+. ;-) -- justin

Re: Minor(?) style questions

2002-03-11 Thread Greg Stein
On Mon, Mar 11, 2002 at 11:55:07AM +0100, Sander Striker wrote: > Hi, > > Just checking if people have given this some thought before. > And, maybe if there was something decided on this matter. For > instance, that this is free when it comes to style rules. I think it is fine to make these con

Re: Minor(?) style questions

2002-03-11 Thread Bill Stoddard
\> > I would be in favor of > > adding 2) to the existing guidelines > > +0.4 (slightly nicer style IMHO, but such a specification conflicts >with desire to keep the style guidelines simple) > > > and leaving 1) and 2) personal choice. > > if you mean "leaving 1) and 3) personal choi

Re: Minor(?) style questions

2002-03-11 Thread Jeff Trawick
"Bill Stoddard" <[EMAIL PROTECTED]> writes: > - > > Hi, > > > > 2) How should a do {} while look like? > > > >do { > >... > >} while (...); > > > >or > > > >do { > >... > >} > >while (...); > > > > The first style is more compact and not less readable

Re: Minor(?) style questions

2002-03-11 Thread Bill Stoddard
- > Hi, > > Just checking if people have given this some thought before. > And, maybe if there was something decided on this matter. For > instance, that this is free when it comes to style rules. > > As some of you have noticed I am doing style reviews of/ > corrections on the current httpd

Minor(?) style questions

2002-03-11 Thread Sander Striker
Hi, Just checking if people have given this some thought before. And, maybe if there was something decided on this matter. For instance, that this is free when it comes to style rules. As some of you have noticed I am doing style reviews of/ corrections on the current httpd codebase, which has