[prog] C and curly braces - question of style?

Jenn Vesperman jenn at anthill.echidna.id.au
Tue Aug 24 09:09:42 EST 2004


On Tue, 2004-08-24 at 06:59, Amanda Babcock wrote:
> On Mon, Aug 23, 2004 at 03:52:06PM +1000, Jenn Vesperman wrote:
> 
> > I prefer that people indent using tabs, not spaces. If you want a
> > narrower tab level than is standard, set it in your editor.
> 
> How does that work in vi?  (And I'm not necessarily assuming "it doesn't".
> Vi ends up doing a lot of things that surprise me.)

vi .vimrc
i
set tabstop=4
ESC
:wq

....

Or I could just say "use 'set tabstop=num'". But in my current frame of
mind, the first was funnier.



Jenn V.
-- 
    "Do you ever wonder if there's a whole section of geek culture 
        	you miss out on by being a geek?" - Dancer.
   My book 'Essential CVS': published by O'Reilly in June 2003.
jenn at anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/




More information about the Programming mailing list