|
|
|
|
|
by kstrauser
520 days ago
|
|
I do wish it had lambdas. That's largely mitigated by the fact you can define functions pretty much anywhere. Instead of: def my_func():
another_func(lambda: ...)
you can write def my_func():
def inner(): ...
another_func(inner)
Sure, it's creating a function, naming it, then immediately throwing it away, but gets the job done with minimal extra boilerplate. |
|