PEP 285: Adding a bool type
Peter Hansen
peter at engcorp.com
Sat Mar 30 11:08:10 EST 2002
Mark McEahern wrote:
>
> [Paul Rubin]
> > I don't see much need for it. There's no need to turn Python into Java.
> > Python, C, and Lisp have all done fine without bools. What kinds of
> > programming tasks in Python are bools supposed to make easier?
>
> I view the proposal not as 'making programming tasks easier' but as
> improving the readability of Python code. If the proposal can achieve the
> latter without 'making programming tasks harder', it seems like an obvious
> win.
Okay, can somebody please prove that?
Are there code snippets which clearly have significantly improved
readability as a result of a rewrite using the proposed bool?
Without that, I'm a strong -1 on this and other such proposals.
-Peter
More information about the Python-list
mailing list