OT: Indent-sensitive languages again (was: Docs: Section on local variables)

bearophile bearophileHUGS at lycos.com
Thu Apr 26 05:05:34 PDT 2012


Stewart Gordon:

> But one possible design for languages like these is to allow 
> indentation to be either entirely spaces or entirely tabs, but 
> not a mixture.  This would also be a good way for linters for a 
> variety of languages to behave.

Among the arguments of the Python2.6 interpreter there is also:

-t     : issue warnings about inconsistent tab usage (-tt: issue 
errors)

"inconsistent tab usage" means mixing tabs and spaces.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list