Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
CodeMage
on May 20, 2012
|
parent
|
context
|
favorite
| on:
A few things to remember while coding in Python
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.
TazeTSchnitzel
on May 20, 2012
[–]
Well in Python 3 you can warn them:
def fib(n, m:"donotusethisparameter"={}):
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: