|
|
|
|
|
by mythrwy
21 days ago
|
|
"If a function needs a new argument, all the callers have to pass it and all of their callers recursively". That is not the case if you default a value in the function. `def foo(x=None)` Of course then you usually have to deal with it in the body of the function even if you didn't need the arg all the time so your point isn't without merit. |
|