[fpc-devel] for-in-index loop

Alexander Klenin klenin at gmail.com
Fri Jan 25 23:58:13 CET 2013


On Sat, Jan 26, 2013 at 9:50 AM, Marco van de Voort <marcov at stack.nl> wrote:
>> 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.
>
> Delphi got its generics from .NET. The .NET compiler got it one version
> earlier. (D2007, native D2009)
>
> Probably the main reason for generics was access the 2.0 framework which was
> new (and used generics) going from D2006 to D2007

Quite probably, but that is still no reason for angular brackets :)

--
Alexander S. Klenin



More information about the fpc-devel mailing list