If you are creating a class that looks and behaves like a collection, it is handy to allow your users to iterate through the members of your collection with the foreach statement. This is easier to do in C# 2.0 than it is in 1.1. In this new column by Jesse Liberty, he shows you what is coming up in .NET 2.0 to make this common task easier. Here, Widbey refactoring works on Whidbey.
The 2.0 way of doing iterators are sweet!
Thank goodness I don’t have to program in such a brain dead language. Long live C++ & STL (or your favourite language *of choice* or course 😉 )!
Is it me or is they only way that Microsoft ever fix something is by extending an already broken idea?
C++ is decidedly braindead compared to C#. It’s obvious you’ve never even cracked open a single tutorial on C#.
And STL is *definitely* braindead. Let’s hear it for closed-minded people clinging to the past! Meanwhile, C++ apps are rife with holes and memory leaks.
uh, well, that column was published almost a month ago. I wouldn’t call it news. I for one read it long ago.