Most efficient solution?
Steve Holden
sholden at holdenweb.com
Mon Jul 16 22:44:21 EDT 2001
"Peter Hansen" <peter at engcorp.com> wrote in message
news:3B539476.B31A639E at engcorp.com...
[ ... ]
>
> 3. We certainly talk a lot about "one way to write it",
> but obviously Python does allow several ways in most
> cases. It seems to split roughly between the "most
> obvious" (probably only for us newcomers) and the
> map/filter/lambda/list comprehension style which is
> obviously second nature for some and entirely outside
> of the experience of others. This ties back to
> (1), suggesting that learning more about these builtins
> is one of the best ways to optimize (working) Python
> code.
Peter: I believe the politically correct mantra is "one obvious way to do
it".
so-being-a-bear-of-little-brain-that's-the-way-I-usually-do-it-ly y'rs -
steve
--
http://www.holdenweb.com/
More information about the Python-list
mailing list