Bare Excepts

Victor Subervi victorsubervi at gmail.com
Thu Dec 31 11:30:45 EST 2009


On Wed, Dec 30, 2009 at 11:00 PM, Steve Holden <steve at holdenweb.com> wrote:

> Victor Subervi wrote:
> > On Wed, Dec 30, 2009 at 3:29 PM, Ben Finney <ben+python at benfinney.id.au<ben%2Bpython at benfinney.id.au>
> > <mailto:ben%2Bpython at benfinney.id.au <ben%252Bpython at benfinney.id.au>>>
> wrote:
> >
> >     samwyse <samwyse at gmail.com <mailto:samwyse at gmail.com>> writes:
> >
> >     > I inherited some code that used bare excepts *everywhere*.  There
> were
> >     > about 4K lines of code, IIRC, and I think that they were more
> except
> >     > clauses than elses.
> >
> >     Visual Basic programmers will learn how to write “ON ERROR RESUME
> NEXT”
> >     <URL:http://www.vbinfozine.com/a_onerror.shtml> in any language put
> >     before them.
> >
> >
> > Yet another example of children belittling others to make themselves
> > feel important.
> > beno
> >
> So turn the mirror in yourself, and ask yourself why you just made that
> comment? It takes all sorts to make a world, and we all need to run
> along. Surely it's easier to ignore that kind of stuff than to
> perpetuate it?
>

Perpetuate what? To quote a favorite Ch'an (Zen) Buddhist scripture...
"Why act? Why not act?"
beno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091231/f2888f2a/attachment-0001.html>


More information about the Python-list mailing list