The D Style and tab sizes
Stewart Gordon
smjg_1998 at yahoo.com
Sun Sep 10 16:11:44 PDT 2006
Walter Bright wrote:
<snip>
>> AFAIC, people who use tabs but indent by half a tab at a time are
>> painting themselves into a corner. We should aim to write code
>> that'll be readable in any editor, whatever its tab size setting.
>
> There's no way to do that and have hard tabs. The only way to achieve
> that is by using spaces only. Using spaces only is one way to conform to
> the D style guide.
I'm not quite with you. True, using spaces only is one way. But if a
given coder uses only '\t' to indent (as I do), what is there to lose?
Stewart.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS-
PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------
My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
More information about the Digitalmars-d
mailing list