Re:A few things to remember while coding in Python
by CodeMage on Sunday May 20, 2012 @11:25AM
(#3998994)
Cleverness like this makes you feel warm and fuzzy inside right up to the point where someone decides to actually pass that second argument to your function.
[ Parent
| on HN ]
Re:A few things to remember while coding in Python
by TazeTSchnitzel on Sunday May 20, 2012 @05:05PM
(#4000103)
Well in Python 3 you can warn them:
def fib(n, m:"donotusethisparameter"={}):