hasslblad
That and there was a big gap in time between IE6 and IE7. Didn't Microsoft once announce that IE6 would be their last browser, as that's all the world needs?
http://www.ethannonsequitur.com/facebook-you-customer-produc...
On a footnote I also recommend Jon Skeet: Coding Blog - http://msmvps.com/blogs/jon_skeet/ He's known in the .Net community. He's the guy behind Tony the Pony. He's a Google staffer who has written some C# books. He goes into great depth about C# stuff.
There are similar stories like this in movies, such as the Great Escape, when one of the escaping prisoners is dressed as a civilian and is boarding a bus in town. A German Officer says in English "Good luck", the prisoner replies in English "thank you" and is caught.
With this code snippet it's obvious that the intent is to remove all the elements. So it can be fixed with a .Clear();
From a higher level, you can see that the snippet smells bad, and will need some attention.
I didn't say I'm smarter than all the developers I encounter. I've just encountered a lot of bad developers in my time.
When I see nasty code like that, I tend to stop parsing it fully and sniff out the intent. I think it's a form of bad code blindness (like banner ad blindness) my brain is protecting me from all the bad code I've seen. If I fully parsed all the really bad code properly I’d become a dribbling wreck. :) So I tend to look at it at a higher level instead to stay sane.
In C# / .Net you can't remove an element from an enumerator while you're enumerating through it. You can remove the last element however, as it's the final loop the enumerator isn't used again so it won't throw an error. The original developer probably tried to remove it forward only first, encountered an error and wrote the code to loop through it backwards, using the random tweaking technique.
What's rather depressing is that a lot of developers I've encountered use the random tweaking methodology, instead of figuring out what's really happening.
http://www.theregister.co.uk/2011/09/01/google_buys_tax_brea...
Video games industry: Rise of the 'bedroom' developer
The Negotiator - This man could save your life
http://www.guardian.co.uk/news/datablog/interactive/2011/aug...
Roger Ailes and the rise of Fox News
JList buy candy in bulk from wholesalers and advertise heavily to anime and manga fans. They have a generous affiliate banner ad scheme too, which means lots of sites link to them. As Candy Japan expands I imagine JList would be a primary competitor for selling Japanese Candy. They already have the market share and infrastructure in place, with offices in Japan and the US. I'm sure there is plenty of room for competition, but I'd be aware of them as a business rival in this market.
Scott Hanselman has a better rational breakdown of the article - http://www.hanselman.com/blog/HackersCanKillDiabeticsWithIns...