Fully dynamic d by opDotExp overloading

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Apr 18 11:02:50 PDT 2009


Don wrote:
> I don't see _anything_ dynamic in this proposal, actually.

Yes. The amount of confusion in this thread is staggering. I think the 
right question to ask is, "what does opDotExp bring, that wasn't there 
before?"

Is it reflection of any kind? No.

Is it the ability to encode operation names as strings, be they static 
or dynamic? No.

Is it the ability to syntactically replace a statically-provided method 
name with an equally statically-known string? That's pretty much it.


Andrei



More information about the Digitalmars-d mailing list