4 ms·
Why not just: def _(a, b): # a multi-lined function return a + b high_order_function(_) Wouldn't this achieve exactly the same thing, in ba
by powersnail 6y ago
Why not just:
def _(a, b):
# a multi-lined function
return a + b
high_order_function(_)
Wouldn't this achieve exactly the same thing, in basically the same line count?
Or better, give the function a simple name.
- greenie_beans 6y agoYep, so much simpler and easier to read.