Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spenrose
on Feb 20, 2011
|
parent
|
context
|
favorite
| on:
Python's Mutable Default Problem
Yes, it's a wart. You learn the patterns he mentions pretty quickly.
code_duck
on Feb 20, 2011
[–]
I knew the pattern well from other languages, but would have assumed that it wasn't necessary in Python. So, this is good to note.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: