Fully dynamic d by opDotExp overloading

bearophile bearophileHUGS at lycos.com
Fri Apr 17 01:31:32 PDT 2009


davidl:
> Any comments? Do you like this feature?

It's cute.
Maybe "." can be used for static methods and some other syntax for dynamic ones, like:
v..dynamicmethod(x);
v->dynamicmethod(x);

It seems that after releasing DMD source code the head of the cat is finally starting to come out of Walter's bag :-) This is for the better.

Bye,
bearophile



More information about the Digitalmars-d mailing list