Newbies: Re: Returning none

Skip Montanaro skip at mojam.com
Fri Sep 3 17:46:55 EDT 1999


    C> What if they notice a few weeks later that there are a bunch of
    C> None's in their database, or that they sent out a mass-email with
    C> "None" here and there in it?

    S> Then I'd suggest they didn't adequately test their software. <no wink>

    C> Let's remove array bounds checking as well then. Adequate testing
    C> will reveal any problems...

Different problem altogether.  Complete array bounds checking is tough
(impossible?) to do at compile time.  You can tell if someone has executed
return both with and without an expression without executing the code.

Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/~skip/
847-971-7098   | Python: Programming the way Guido indented...





More information about the Python-list mailing list