Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wololo
on June 30, 2012
|
parent
|
context
|
favorite
| on:
Python 3 Q&A by a prolific core developer
I wish python 3 would make default parameters immutable. It seems to go against the "simple", "explicit" python philosophy, not to mention that (it seems) most people tend to learn about the feature through debugging.
description:
http://effbot.org/zone/default-values.htm
hynek
on June 30, 2012
[–]
Yeah sometimes I wish there were a warning whenever someone defines a function with [] as def arg.
wololo
on June 30, 2012
|
parent
[–]
I know pylint and pychecker do this, but not pep8. Opinions on those?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
description: http://effbot.org/zone/default-values.htm