Fatal flaw in D design which is holding back widespread adoption

bearophile bearophileHUGS at lycos.com
Wed Mar 31 03:19:19 PDT 2010


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



More information about the Digitalmars-d mailing list