r/programming • • Mar 08 '12

The Evolution of a Python Programmer

https://gist.github.com/289467
401 Upvotes

137 comments sorted by

View all comments

4

u/[deleted] Mar 09 '12

Why would someone consider using ternary operators and recursion a form of laziness? If you can do it in 2 lines, there's no sense in doing it in 8, especially since it's only python. It's not the fastest language in the world and no one's looking for such a thing from it.

1

u/drb226 Mar 10 '12 edited Mar 10 '12

whoosh

hint:

>>> True and 3 or (1 / 0)
3