Thanks, people, for your replies.
Thanks for this hint, but I disagree with the PEP and am glad that
Python doesn't actually enforce that.
I do not know why one would prefer spaces to tabs, I mean for example
all those backspaces you'd have to use to go up a level, and I think
it is just the personal style of somebody who contributed a lot to the
core libraries or such, and it was made a standard *as far as the core
libraries are concerned* because mixing up different indenting systems
cannot be sensibly handled due to the syntactical importance of
whitespace.
However I am not capable and hence do not intend to contribute to the
core libraries, and whatever code I write for my own project I will
use my own preferred indenting style. I have been using tabs ever
since my earliest days of C programming and will continue to use them
for the foreseeable future.
On Wed, May 15, 2013 at 10:59 AM, Stefan Behnel <
stef...@behnel.de> wrote:
>
> That's the right way of doing it but not the right type, because it pays
> the entire overhead of a Python bool object just to store one bit of
> information. Instead, use the "bint" type to declare this property.
I don't get this -- what overhead can a bool object in *any* language
entail? It is possibly the simplest of data types, no?