in reply to The One True Style of indentation:
I use XEmacs which seems to get it right, tab eq 2 spaces. Personally I just find it to be the right amount, it generally leaves me enough room for short comments on the same line even when nested.
I learned curlies from Niklaus & Wurth but forget what they said.. I use
if (true) {
woop;
} else {
werp;
}
..Vertical real estate is important too. The real holy war is, how do you line up long || statements (over 2 lines for me)..
Right??!?!?!? (smiling like jack n. in the shining) hee hee hah hah ahaha ahaa!!if ( (longthing > foo) || (anotherthing < moo) || (boo) ) { werp; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: The One True Style of indentation:
by tretin (Friar) on Apr 15, 2002 at 12:43 UTC |