3 ms·
"filter(P, S) is almost always written clearer as [x for x in S if P(x)]" - Guido van Rossum on Python I've always felt the opposite about the python list com
by sinemetu11 12y ago
"filter(P, S) is almost always written clearer as [x for x in S if P(x)]"
- Guido van Rossum on Python
I've always felt the opposite about the python list comprehension syntax.
- TeMPOraL 12y agoI'm pretty convinced that this quote is meant to be sarcastic.
- sinemetu11 12y agoIs the sarcasm from van Rossum or PG? If Rossum I find this quote much more interesting. :)
- randlet 12y agoIt is a well placed jab at Guido's (poorly worded) statement.