Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Anti-Patterns in Python Programming. Parent comment
There are other dynamic languages with functions as first class objects which don't share the "mutable default arguments" gotcha.
But having said that, any change regarding this would break backward compatibility.
There are no comments on this comment yet.
There are other dynamic languages with functions as first class objects which don't share the "mutable default arguments" gotcha.
But having said that, any change regarding this would break backward compatibility.