Am 14.12.2016 12:59 schrieb "Graeme Geldenhuys" <
mailingli...@geldenhuys.co.uk>:
>
> On 2016-12-14 10:14, Sven Barth wrote:
> >> > enough in HTML enough. But that's not really a real point, that's
just a
> >> > pet peeve to deal with...
> > I'm not a fan of the <> syntax for generics either, cause it's a PITA to
>
> Out of curiosity, if there was a blank slate -- no Delphi-compatibility
> to worry about -- what syntax would you have chosen?

The thing is it's not even Delphi-compatibility as we had the syntax before
Delphi implemented its own (that's why we have "generic" and "specialize"
keywords). And that was before my time anyway...
That said... I'd probably use something along the following: specialize
TFPGMap with (String, TObject).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to