This is a terrible article. Some of the questions are good, but most of them are vague, and most of the answers don't use the right conventions. I won't talk about naming conventions, but take a look at the second question, os.walk would've been a much better alternative.
Do people actually memorize the code for walking through a directory in python? I have only had to use this once; there's no way I'd remember how to do it off the top of my head. And I don't think that knowledge of something that would take 2 minutes to google is that important.
109
u/gamesbrainiac Nov 20 '15 edited Nov 20 '15
This is a terrible article. Some of the questions are good, but most of them are vague, and most of the answers don't use the right conventions. I won't talk about naming conventions, but take a look at the second question,
os.walkwould've been a much better alternative.