Re:Python's Mutable Default Problem
by crystalis on Sunday February 20, 2011 @09:33PM
(#2244009)
I'm pretty sure this is the same argument used to make Perl a bad guy.
[ Parent
| on HN ]
I disagree, but we've gotten a bit off topic.
I think Python's behaviour is confusing and basically never what anyone actually wants. Regardless of whether or not you can use other params in defaults, the defaults should be evaluated on each call.