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

Vern Ceder vceder at gmail.com
Mon Dec 19 23:39:25 CET 2011


On Mon, Dec 19, 2011 at 4:36 PM, kirby urner <kirby.urner at gmail.com> wrote:

> However, coding a loop to go through a list looking for a match,
> rather than letting the keyword "in" do the work, strikes me as "poor
> Python" that should be tightened up to pass muster.
>
> I  absolutely agree on this one...


> I don't think an "anything goes" attitude works.  Like in sports, some
> moves win more points and when you hire a coach, it's to develop best
> practices, not to prove how you're free of all idioms.


+1

>
> Kirby
> _______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> http://mail.python.org/mailman/listinfo/edu-sig
>



-- 
Vern Ceder
vceder at gmail.com, vceder at dogsinmotion.com
The Quick Python Book, 2nd Ed - http://bit.ly/bRsWDW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20111219/afe49253/attachment.html>


More information about the Edu-sig mailing list