Should we still be learning this?

Max rabkin at mweb[DOT]co[DOT]za
Sat Feb 18 08:13:06 EST 2006


Felipe Almeida Lessa wrote:
> Em Sáb, 2006-02-18 às 14:38 +0200, Max escreveu:
> 
> Urgh. This sucks. Did they mention generators, at least? Sometimes list
> comprehensions are even faster (I didn't check, but I think this one can
> be an example of this: [i*2+2 for i in iterator] vs. map(lambda x: x*2
> +2, iterator)).
> 

No mention of generators in the outline.

> They should have taught both.
> 
> 
>>What do you think?
> 
> 
> I wonder if they need some updating.
> 

And so does Dive Into Python (our textbook, diveintopython.org) which 
has the same deficiencies in its outline.

> 
> Just my two cents,
> Felipe.
> 

Thanks,
Max



More information about the Python-list mailing list