Fatal flaw in D design which is holding back widespread adoption

Steven Schveighoffer schveiguy at yahoo.com
Tue Mar 30 14:01:09 PDT 2010


On Tue, 30 Mar 2010 16:56:32 -0400, Walter Bright  
<newshound1 at digitalmars.com> wrote:

> BTW, type a file to a console window. Tabs come out as 8 characters, on  
> Windows, Linux, and OSX.

So do 8 spaces.  This is the surest way to make code easily  
viewable/editable anywhere.  Just set the "expand tabs" option on your  
favorite editor.

My recommendation is to say indentations are 4 spaces and tabs should not  
be used for indentation.

-Steve



More information about the Digitalmars-d mailing list