|
|
|
|
|
by hedora
2512 days ago
|
|
Is its function parameter passing really more obnoxious than python, which lets you mutate the default parameter across calls: def foo(bar=Bar(1)): Unless bar is a primitive type, in which case each invocation gets the same value? def foo(bar=1): Perl wears its idiosyncrasies as badges of honor. Python keeps them hidden so they can sneak up on you when you least expect it. |
|