| |
| | A Moronicity of Guido van Rossum (Site not responding. Last check: 2007-10-03) |
 | | Guido wrote: «filter(P, S) is almost always written clearer as [x for x in S if P(x)], and this has the huge advantage that the most common usages involve predicates that are comparisons, e.g. |
 | | Guido added this sting as a afterthought: «(plus the lambda is slower than the list comprehension)» Which is faster is really the whim and capacity of Python implementators. |
 | | Guido wrote: «Also, once map(), filter() and reduce() are gone, there aren't a whole lot of places where you really need to write very short local functions;» Of course, you begin to write things like Java, in three thousand words just to state you are a moron. |
| mail.python.org /pipermail/python-list/2005-September/301332.html (1012 words) |
|