Fatal flaw in D design which is holding back widespread adoption

Matthias Pleh matthias.pleh at ltw.at
Wed Mar 31 03:43:27 PDT 2010


"bearophile" <bearophileHUGS at lycos.com> schrieb im Newsbeitrag 
news:hov7j7$svd$1 at digitalmars.com...
> Bane:
>> I wonder do Python folks have same problems.
>
> In Python3+ if you mix tabs and spaces to indent code, the "interpreter" 
> raises a parsing error. So you are forced to use only tabs or only spaces 
> to indent code. Only really newbies mix tabs and spaces in Python 2.x 
> code.
>
> And the Python coding standards (PEP8, 
> http://www.python.org/dev/peps/pep-0008/ ) says:
> "Use 4 spaces per indentation level."
> And all a little serious Python programmers follow it.
>
> Bye,
> bearophile


And the D dstyle doc (http://www.digitalmars.com/d/2.0/dstyle.html) says:
"Each indentation level will be four columns" and "Using spaces instead of 
tabs is preferred"
And all a little serious D programmers follow it.

Bye,
nocide 





More information about the Digitalmars-d mailing list