[fpc-devel] New feature discussion: for-in loop
Micha Nelissen
micha at neli.hopto.org
Wed Oct 21 09:33:08 CEST 2009
Michael Van Canneyt wrote:
> Ideally, the compiler has no knowledge at all of specific classes, and a
> new keyword such as Iterator (or whatever) helps in ensuring that the compiler
> is not contaminated with knowledge of specific classes or methods.
I'm not sure how things are helped by "slapping" a keyword onto it? If
we call the thing a "class" then it's evil, but if it's called an
"iterator" which is actually the exact same thing as a class, it's fine?
Correct me if wrong.
Micha
More information about the fpc-devel
mailing list