A Perspective on D from game industry

xenon325 via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 18 00:40:17 PDT 2014


On Wednesday, 18 June 2014 at 05:20:39 UTC, H. S. Teoh via 
Digitalmars-d wrote:
> On Wed, Jun 18, 2014 at 02:18:47AM +0000, c0de517e via
>> Now you're talking polymorphism again, [...] and it's actually 
>> not really metaprogramming, it's just
>> fancier typing.
>
> Actually I was talking about templates:

You can do that with interfaces. Though there are problems:
1. built-in and value types
2. indirection

C# solved (1). Don't know if it's possible to solve both without 
templates.




More information about the Digitalmars-d mailing list