The Samurai Principle

Paul Rubin no.email at nospam.invalid
Wed Sep 8 18:52:47 EDT 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