What is the best way to deal with this?

Timon Gehr timon.gehr at gmx.ch
Sun Feb 24 03:50:46 PST 2013


On 02/24/2013 04:59 AM, Steven Schveighoffer wrote:
> ...
>
> D is much different (and better IMO)
> ...

IMO The best way to think about it is that the two approaches are not 
comparable. D templates are a kind of hygienic macro system for 
declarations. Java does not have this. Java generics make the type 
system more expressive. D lacks this kind of expressiveness.


More information about the Digitalmars-d mailing list