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/2003-December/041328.html below:

[Python-Dev] Got None. Maybe Some?

[Python-Dev] Got None. Maybe Some? [Python-Dev] Got None. Maybe Some?Guido van Rossum guido at python.org
Mon Dec 22 10:24:30 EST 2003
> Is None so weird?  All I am proposing is a symmetric value to None. 
> Just like there is a -1 and 1, -Infinity and Infinity, None logically
> should have Some.  Maybe not so much -Some == None, but as I propose in
> the PEP, possibly Some == not None.

None's purposr is not to be less than all numbers (in fact in
the past it wasn't); it's to be "not any object", like nil or NULL in
other languages.

I don't see a similar broad role for Some.

And I repeat my question: which other language has that concept?

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

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