A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/020928.html below:

[Python-Dev] Boolean transition

[Python-Dev] Boolean transition [Python-Dev] Boolean transitionSamuele Pedroni pedroni@inf.ethz.ch
Mon, 11 Mar 2002 05:30:11 +0100
From: Paul Prescod <paul@prescod.net>
> Catching errors is also a benefit of separating any two types.

Yes, but my implicit point was that if you're serious about
this you should find some way beyond good-will,
to enforce the change from 0/1 to True/False
in all new and old code.

Otherwise your benefit is negligible
or you should use a lot of bool() to avoid
the progation of the evil 0/1 that are
flags and could mix with integers that are integers.

>From my observatory I don't see the danger
of the evil propagation, just the 0/1/True/False
confusion, but I already left that issue to Guido's
taste.

regards.









RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4