<p>Am 01.03.2012 12:29 schrieb "Lukasz Stafiniak" <<a href="mailto:lukstafi@gmail.com">lukstafi@gmail.com</a>>:<br>
><br>
> Why are type-parametric definitions called generics in Pascal? It<br>
> seems to me their semantics is like templates in C++, not like<br>
> generics in Java/C# (or ML languages).</p>
<p>They are named generics, because they are "generic" as in "can be used for everything". We do not need to follow the naming of other languages. Also there is the possibility that FPC's generics might be optimized a bit for inheritable types (class, object, interface) once they are feature complete. Then they would behave more like Java generics for such types.</p>

<p>Regards,<br>
Sven<br>
</p>