Re:Anti-Patterns in Python Programming
by jamiis on Wednesday July 09, 2014 @10:55AM
(#8009916)
You should not ever use mutable default args. The documentation benefit is drastically outweighed by the potential for nasty bugs.
http://pythonconquerstheuniverse.wordpress.com/2012/02/15/mu...
[ Parent
| on HN ]
There are no comments on this comment yet.