[fpc-pascal] Background info on Generics in FPC
Florian Klämpfl
florian at freepascal.org
Sat Apr 17 21:20:37 CEST 2021
> Am 17.04.2021 um 21:07 schrieb Graeme Geldenhuys via fpc-pascal <fpc-pascal at lists.freepascal.org>:
>
> Hi
>
> I'm looking at the wiki and official FPC language documentation. What was
> the reason for the decision to make the FPC syntax so verbose regarding
> Generics?
Same reason why we have
a : array[0..10] of integer;
instead of
a : integer[0..10];
After all, using the keywords generic and specialize felt more pascalish to us.
More information about the fpc-pascal
mailing list