[Edu-sig] Using try / except: any stipulations against routine use?

kirby urner kirby.urner at gmail.com
Wed Dec 14 23:14:04 CET 2011

Interesting responses.

I harp on that

somedict [ key ] = somedict.get( key, 0 ) + 1

option quite a bit, as shorter and easier than all that try / except stuff.

That's just the bias I've been applying, to an invisible army of...
what?  Hundreds?  Hard to keep track.

Anyway, good to see the other side of things.

I tend to bust out in try / except syntax when I have to, but if I can
keep it more button-down, I do.


More information about the Edu-sig mailing list