[Gllug] C/C++ mentor

Rich Walker rw at shadowrobot.com
Tue Nov 28 18:16:44 UTC 2006


"Pete Ryland" <pdr at pdr.cx> writes:

> 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.

They also suffer from being really obvious to mathematicians...

cheers, Rich.

-- 
rich walker         |  Shadow Robot Company | rw at shadow.org.uk
technical director     251 Liverpool Road   |
need a Hand?           London  N1 1LX       | +UK 20 7700 2487
www.shadowrobot.com/hand/overview.shtml
-------------- 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