Re: Coding Style: indenting with tabs vs. spaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: DervishD
Date: Saturday, November 10, 2007 - 9:50 am

Bonjour Xavier :)

 * Xavier Bestel <xavier.bestel@free.fr> dixit:

About the space saving? Not me, of course. It's just that I didn't see
any other advantage.


The only way of having a sane indentation using tabs is to make sure
that ALL indentation are tabs, not a mix of tabs and spaces (spaces, if
any, should be at the end of indentation for aesthetical purposes, but
should be removed without the logical indentation being lost). A good
editor can ensure that all indentation are tabs and not a mix, but a
good editor can adapt indentation to your likings when loading the file
and save the file translating your favourite indentation back to spaces
or whatever.

If everybody used tabs correctly, indenting using tabs would be great,
but IMHO indenting with spaces is much better.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!
We are waiting for 13 Feb 2009 23:31:30 +0000 ...
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Coding Style: indenting with tabs vs. spaces, Benny Halevy, (Thu Nov 8, 3:36 am)
Re: Coding Style: indenting with tabs vs. spaces, Chris Snook, (Thu Nov 8, 8:58 am)
Re: Coding Style: indenting with tabs vs. spaces, DervishD, (Sat Nov 10, 5:04 am)
Re: Coding Style: indenting with tabs vs. spaces, Xavier Bestel, (Sat Nov 10, 5:27 am)
Re: Coding Style: indenting with tabs vs. spaces, DervishD, (Sat Nov 10, 9:50 am)
Re: Coding Style: indenting with tabs vs. spaces, Benny Halevy, (Sun Nov 11, 1:57 am)
Re: Coding Style: indenting with tabs vs. spaces, James Courtier-Dutton, (Sun Nov 11, 2:23 am)
Re: Coding Style: indenting with tabs vs. spaces, Benny Halevy, (Mon Nov 12, 1:13 am)
Re: Coding Style: indenting with tabs vs. spaces, Benny Halevy, (Mon Nov 12, 1:17 am)
Re: Coding Style: indenting with tabs vs. spaces, J. Bruce Fields, (Mon Nov 12, 8:38 am)
Re: Coding Style: indenting with tabs vs. spaces, DervishD, (Mon Nov 12, 9:30 am)