T
Tom Anderson
Claudio Grondi wrote:
So far we've got lisp macros and a thousand response's to the lua trick.
Anyone else have any actual non-python language tricks they like?
Higher-order functions like map, filter and reduce. As of Python 3000,
they're non-python tricks. Sigh - i guess it's time for me to get to know
list comprehensions a bit better.
The one thing i really do miss is method overloading by parameter type. I
used this all the time in java, and it really notice the lack of it
sometimes in python. No, it's not really possible in a typeless language,
and yes, there are implementations based on decorators, but frankly,
they're awful.
Yeah, and i'm with "if False:" for commenting out chunks of code.
tom