[fpc-pascal] for..in loops?

Moz list at moz.geek.nz
Sun Nov 20 11:54:21 CET 2005


Micha Nelissen said:
> FPC will never support this, AFAIK. It doesn't really add anything new, it
> just shortens the code somewhat. Only in toy examples is it nice,

Could you expand this answer to cover the reasons why people might use
Pascal rather than assembly language? Your argument seems to advocate
using the lowest level language available...

I'm a big fan of compact code and language features that promote it.
Give me "StringList.SaveToFile()" any day over the laborious code
that starts "var F:TextFile;"

Moz




More information about the fpc-pascal mailing list