[fpc-devel] for-in-index loop

Alexander Klenin klenin at gmail.com
Fri Jan 25 23:44:38 CET 2013


On Sat, Jan 26, 2013 at 9:31 AM, Sven Barth <pascaldragon at googlemail.com> wrote:
> After implementing support for Delphi style generics I came to the
> conclusion that I would have preferred the following syntax:
>
> type
>   TFPGListLongInt = specialize TFPGList as (Integer);
>
> or
>
> type
>   TFPGListLongInt = specialize TFPGList with (Integer);
>

Whatever the particular syntax, I do agree that the decision to use
angular brackets
was unnecessarily copied from C++ -- round ones (or, at least, square
ones) would be much better.

--
Alexander S. Klenin



More information about the fpc-devel mailing list