Archive for February 3, 2009

Tuesday, February 3, 2009

From ABC to Python

Guido van Rossum:

Despite the problem with numbers, one very positive thing came out of this experience. I decided that there should be no undefined result values in Python—instead, exceptions should always be raised when no correct return value can be computed. Thus, Python programs would never fail due to undefined values being silently passed around behind the scenes. This is still an important principle of the language, both in the language proper and in the standard library.