Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
beza1e1
on Feb 20, 2011
|
parent
|
context
|
favorite
| on:
Python's Mutable Default Problem
There is no order for named arguments. You could call the function like this after all:
f(b=3)
wingo
on Feb 20, 2011
[–]
Of course; in that case the default value expression for `b' would not be evaluated.
Common Lisp does this right.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: