The Samurai Principle

Paul Rubin at nospam.invalid
Thu Sep 9 00:52:47 CEST 2010

Grant Edwards <invalid at invalid.invalid> writes:
> I find it much easier to screw things up using the
> "exceptional return value" method than the "exception raise" method.

That may be partly due to Python's not-so-good facilities for
implementing the "exceptional return value" method.  To be fair, plenty
of other languages have similar shortcomings and it's mostly in more
recent languages that the problem has really been recognized, and
addressed with features like option types.

More information about the Python-list mailing list