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

Per the Zen of Python, there should always be exactly one sensible way to do something, but unfortunately this is not often the case. List comprehension can be achieved just the same with functools, itertools, explicit for loops, etc.

That said, I do tend to have that mantra a little more present in my head when I'm working with Python.



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

Search: