[fpc-devel] New feature discussion: for-in loop

Alexander Klenin klenin at gmail.com
Tue Oct 20 10:00:56 CEST 2009


On Tue, Oct 20, 2009 at 18:57, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:

> As an alternative to the very limited "for-in", I have a better and
> more flexible design, using the Iterator design pattern.

for-in is just a syntax sugar plus standard interface for the cost common usage
of iterators. So they are not mutually exclusive at all.

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list