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.
Thats what I thought as I was reading it as well. Really disappointed with codementor, I hope they hire someone to fix issues like this happening, because it seems to be a regular occurrence.
Many people teach out of a conviction to help people learn better. So, what you say isn't necessarily true, but I think this article is here simply for the sake of getting SEO hits since Python is a big search item these days for prospective programmers.
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.