I can't resist...

On Fri 13 May 05, 10:06 AM, Charles McLaughlin <[EMAIL PROTECTED]> said:
> 
> Here is an example of how I like to format things:
> 
> if(foo)
> {
>   doSomething();
> }
 
This is my preferred style as well.  I'm meeting more and more people who
prefer this style, so I think it's gaining popularity.  I have seen this
though:

if(foo)
{ doSomething();
}

which is heretical.  ;)




> but in some situations emacs formats code like this:
> 
> if(foo)
>   {
>     doSomething();
>   }
 
*barf*!!!


 
> apparently most of the world formats code like this:
> 
> if(foo) {
>   doSomething();
> }
> 
> That just doesn't work for me though. :)
 
I agree.  Doesn't float my_boat;  BTW, this is how you're supposed to code in
the Linux kernel.  The rationale is that it's still readable but conserves
virtual console rows, which at a standard 25, is at a premium.  But for
someone working on an xterm, it makes no sense to conserve the number of
lines you're using to display code.

Pete
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to