> This is one of the nice things about Python, in my opinion.  Every
> error is an exception, so you can feel free to completely ignore

Like end of file? :-)

> Hmm.  It just occurred to me that you could combine your idea with
> exceptions quite nicely: All core functions throw exceptions on
> error, but only when called in a void context.  (As well as, perhaps,
> when a given pragma is in effect.)  This way, old code which correctly
> checks errors will run without modification.  Old code which
> incorrectly ignores errors will get error checking.  (And old code
> which correctly ignores errors breaks, which is probably enough of
> a problem to torpedo the whole idea.  Alas.)

I dunno.  use strict (or whatever takes its place) can be very bondagey.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to