[Python-Dev] Re: PEP 285: Adding a bool type

Andrew Koenig ark at research.att.com
Wed Apr 3 11:19:33 EST 2002


>> Specifically: If I want to write a function that answers a yes/no
>> question, I have lots of possible ways of spelling yes (1, 2, "yes",
>> and so on) and lots of possible ways of spelling no (0, {}, None,
>> and so on).  There isn't a single preferred way.

Fredrik> if you study real python code, you'll find that there is.

I mean that the language doesn't prefer a single way,
as opposed to programmers' conventions.








More information about the Python-list mailing list