Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



I'm pretty convinced that this quote is meant to be sarcastic.


Is the sarcasm from van Rossum or PG? If Rossum I find this quote much more interesting. :)


It is a well placed jab at Guido's (poorly worded) statement.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: