By bloid
via codeproject.com
Published: Sep 22 2008 / 17:55
As we know iterators in C++ is a good but not a perfect abstraction. Concept of foreach() (D, Python, Ruby, etc.) appears as more generic solution. At least foreach() does not require artificial iterator::end() to be defined for the collection.



Comments
Motion Control replied ago:
Whot???
zynasis replied ago:
"MS in Physic and Applied Mathematic."
Get out of I.T. you douche bag.
docmach replied ago:
Are you saying physicists and mathematicians shouldn't program? There are a lot of people with physics and math backgrounds who program extensively and he has the background to understand that. I don't know how you define I.T., but C++ is used in lots of different fields. Just because you don't like what he has to say doesn't mean it's not useful.
eelmore replied ago:
Programming has lots of applications that don't intersect with IT. Have you ever played a video game, driven a car, used a cell phone, been to a hospital, or otherwise used a product manufactured by machines? Someone had to program these devices. Computer science does not necessarily mean IT.
This article has a much better computer science appeal than most of these other douche-bags (to borrow your word) who post so many "Free Icon Sets" and "Top ten things I just read about" articles that plague dzone.
You might actually be too stupid for dzone, zynasis. Congratulations.
Voters For This Link (8)
Voters Against This Link (2)