by pmr_ · 11y ago · 0 comments
I fully agree that the code in my post is very bad, I took it from the article.
If I'm looping through a list, it's because I want to loop through it and process its items. I'm going to return/skip earlier due to whatever reason, and not rely on the "logic" for processing being built into the length of the list, or whoever populates the list.