[OT] What should be in a programming language?

bearophile bearophileHUGS at lycos.com
Sat Oct 24 23:47:53 PDT 2009


Yigal Chripun:
> there should be no syntactic difference between an int and a user 
> defined type.
> for example I should be able to do:
> struct foo : int {}

With "alias this" D2 is able to do something like that, but it uses a nonstandard syntax... So here things may be improved in D2.

Bye,
bearophile



More information about the Digitalmars-d mailing list