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/020900.html below:

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

[Python-Dev] For review: PEP 285: Adding a bool type [Python-Dev] For review: PEP 285: Adding a bool typeSamuele Pedroni pedroni@inf.ethz.ch
Mon, 11 Mar 2002 00:06:03 +0100
From: Ka-Ping Yee <ping@lfw.org>
> Will people waste time on silly arguments about "thou shalt change
> thy code to the One True/False Style, because it is the Proper Way"
> vs. "but 0/1 works and it's less typing and i don't want to bother"?
> Will programmers expend a bunch of effort editing their code to
> work the new way -- effort that could have been better spent fixing
> and improving their programs?  (Instantiate the preceding question
> with programmers := Python-developers and programs := Python
> standard library.)

Although it was not said so explicitly, my design exercise
related to Jython shows that probably a lot of Jython user code
will still preserve many:

jbean.beanProp = 1

where 1 would be better written as True.

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