[Gllug] C/C++ mentor

Pete Ryland pdr at pdr.cx
Tue Nov 28 18:11:07 UTC 2006


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.

Pete
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list