[fpc-pascal] for .. in loop implementation

Marco van de Voort marcov at stack.nl
Thu Jan 8 16:26:05 CET 2009


In our previous episode, Jeremy Cowgar said:
> > However IMHO that doesn't meant you are right. One single case of an
> > optimalization advantage, and then in a border case like iteration over a
> > constant set does not justify a language extension.
> 
> What is the negative of adding it?

Clutter, maintenance, and somebody has to do both implementation and
maintenance, addition to documentation tool, pretty printer etc.

> To me, I program in a language 
> because it makes my life easy, not because each keyword has a 
> certain/clear purpose and cannot be done any other method. The easier FP 
> is for me to program in (or the less typing I have to do), the better FP 
> is to me. I'm confused on why not to add it.

"Easy" and typing are not related. Easy allows me to do my job quickly.
Typing has never been limiting in my job.



More information about the fpc-pascal mailing list