News for hackers. Stuff that matters.
Re:Show HN: 15-question programming quiz with answers by StavrosK on Tuesday May 23, 2017 @02:12PM (#14403668)
In that case, by far the biggest Python gotcha is:

    def do_stuff(mylist=[]):
        mylist.append("thing")
Which will lead to the list containing N items after N invocations (i.e. the second function call won't start with an empty list).
Re:Show HN: 15-question programming quiz with answers by ammon on Tuesday May 23, 2017 @02:23PM (#14403778)
Yup, we see that issue too. But in that case, I think it's python specific (how python handles default values). Ruby, for example, does not have that behavior.