The D Style and tab sizes
Thomas Kuehne
thomas-dloop at kuehne.cn
Sun Sep 10 02:36:18 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Walter Bright schrieb am 2006-09-10:
> Stewart Gordon 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.
What editor/IDE are you using?
gedit(GNOME), kedit(KDE) and vi/nano(shell) are all basic editors and
all have a way to set the display with of "\t" characters. Microsoft's
Notepad is probably the only default editor incapable of changing the
display with of "\t".
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFA9yMLK5blCcjpWoRArGqAJ93UDlDyG5dDWImoq+6odjw3+wB6gCfeu3Y
OVq0p+oD75/6zr/qhqTb8Ow=
=uhKo
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list