Fully dynamic d by opDotExp overloading

Michel Fortin michel.fortin at michelf.com
Mon Apr 20 06:54:21 PDT 2009


On 2009-04-20 07:25:43 -0400, Christopher Wright <dhasenan at gmail.com> said:

> BCS wrote:
>> Hello Christopher,
>> 
>>> The utility is when you are looking for methods to invoke via runtime
>>> reflection, you can determine that a given function is one of these
>>> runtime opDotExp equivalents.
>> 
>> So it is being argued that there should be a standard way to do a run 
>> time function invocation system? I'll buy that.
>> 
>>> I don't know how useful this is, in point of fact. Unless there's a
>>> standard system in D for integrating with scripting languages, anyway.
>> 
>> Maybe there should be.
> 
> But there isn't, so this is YAGNI. And if there were, then this 
> particular issue would immediately be solved.

The thing is that with compile-time reflection you can already build 
your own runtime-reflection system (with some limitations).

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list