Formatting, tabs vs spaces.

Rodolfo Lima rodolfo@rodsoft.org
Wed Jul 16 12:03:00 GMT 2008


Paolo Carlini escreveu:
> ... so you are really following me in my nitpicking passion. Good, good ;)
> 
> Seriously, I think the general answer is easy: never use by-hand spaces. When you use a normally configured emacs, for example, you *never* press the spacebar for formatting purposes, only to separate words. In fact, since emacs is The reference GNU programmers tool, I would suggest just using it as such and configure any other tool to mimic its behavior.

Or, if you're like me and don't want a full-blown lisp interpreter 
hanging around loaded in memory ( :) ), just stick with vi and make sure 
the option 'expandtab' is set. Put 'set expandtab' in your vimrc.

Regards,
Rodolfo Lima



More information about the Libstdc++ mailing list