Tabs versus Spaces in Source Code

Jorge Godoy godoy at ieee.org
Wed May 17 09:38:33 EDT 2006


achates wrote:

>>Hitting the spacebar like a madman? If you have a sensible editor then at
>>the start of a line you press tab once
> 
> True! but normally if I'm editing someone else's code then I'm only
> making small changes and so can't be bothered to temporarily cripple my
> editor. If I'm merging my code with someone else's space-indented code
> then piping through sed 's/TAB/SPACES' does the trick.

Emacs guess what's used in the file and allows me to use tabs all the time,
doing the correct thing...  Personally, I like using spaces, but I don't
have problems with files using tabs... 

-- 
Jorge Godoy      <godoy at ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.



More information about the Python-list mailing list