Re:A few things to remember while coding in Python
by andreasvc on Sunday May 20, 2012 @11:18AM
(#3998963)
IMO mutable default arguments should be forbidden just as mutable keys are not accepted in dictionaries. All of the examples which claim to have a use-case for mutable default values can be rewritten with more explicit (thus more pythonic) constructs.
[ Parent
| on HN ]
There are no comments on this comment yet.