Thu, 21 Oct 2010 22:26:20 +0000, retard wrote: > Thu, 21 Oct 2010 16:00:11 -0400, Gary Whatmore wrote: > >> What's the difference between: >> >> type polymorphism >> parametric polymorphism >> ad-hoc polymorphism >> generics >> c++ templates >> d style templates >> other templates (are there?) >> >> Does Java and C# have type polymorphism or generics or templates? >> What's the real name and how to compare? Is D most expressive? I bet it >> is. > > If I remember correctly, there used to be a comparison chart in the > digitalmars website that made D look better than all other languages. I > made a new version http://pastehtml.com/view/1bkw27w.html -- feel free > to correct any errors. The main idea was to give some idea of the > features there could be in D.
I forgot to list a lot of useful features such as typestates (thanks bearophile), but will probably update the chart later.
