[fpc-devel] Templates / Generics; Vote

Vincent Snijders vsnijders at quicknet.nl
Wed Nov 9 19:58:41 CET 2005


rstar at mnet-online.de wrote:
>>
> Delphi.Net2.0 is using <>
> Chrome is using <>
> C# is using <>
> C/C++ is using <>
> 
> Why should FPC use "generics" ???

Because it is more readable. < is an operator and therefore should not 
be used as bracket in generic definition.

> 
> That b.s. will break the Delphi code base!

What is b.s.? If it means (somehow) syntax for generics, then this 
argument is easy to refute:
1. There is no native (i.e. win32) Delphi code base (yet) that uses 
generics, so that won't be broken.
2. Delphi.Net 2.0 code is not yet released and exact syntax is therefore 
subject to change, so it cannot be used as example.

Vincent.



More information about the fpc-devel mailing list