[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
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