News for hackers. Stuff that matters.
Re:A few things to remember while coding in Python by gbog on Saturday May 19, 2012 @07:10PM (#3997353)
Yes but no. In two month, when the function has grown, the next coder may not notice the issue and start mutating the default in the function body. Then you have a hidden killer bug.

Pass all code under pylint scrutiny, comply to its complains or adjust its rules, do it early. That is the recommendation I wish all devs could read.

There are no comments on this comment yet.