[Gllug] C/C++ mentor

Richard Jones rich at annexia.org
Wed Nov 29 10:45:25 UTC 2006


On Tue, Nov 28, 2006 at 06:11:07PM +0000, Pete Ryland wrote:
> On 28/11/06, TreeBoy <gllug at petethetree.co.uk> wrote:
> >I find Python's list comprehensions unnecessarily complex when a portable
> >construct such as a for loop will achieve the same thing.
> 
> One unfortunate thing about python list comprehensions is that they
> are significantly faster than using nicely laid out loops, thus
> encouraging less comprehensible code.

Huh?  List comprehensions are easier to understand than loops ...

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Internet Marketing and AdWords courses - http://merjis.com/courses - NEW!
Merjis blog - http://blog.merjis.com - NEW!
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list