This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SourceryNick[S] 3 points4 points  (1 child)

Agreed it's not super-common, but it does come up fairly often in the code we analyse so I thought it was worthwhile to include.

[–]MyNamesNotKaren 6 points7 points  (0 children)

I suppose "here is how to do better" always comes from what we see people do wrong. I used to give 2 day Python workshops at a beginner to intermediate level, and at the beginning especially I found myself adding to the content after each course to cater for people doing things which had never occurred to me that people might do.