Andrei Alexandrescu wrote:

Christopher Wright wrote:

Andrei Alexandrescu wrote:

You completely lost me about the necessity of a standardized catch-all function. My view is that if you want to forward to someone else, you just call the runtime invoke() for the guy you want to forward to. So I see exactly zero need for a standardized catch-all, and a red herring in the discussion about the syntactic help brought about by opDotExp.

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.

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.

Oddly enough, I got it now :o).

Thanks Cristopher. :-)

Another interesting use of this, beside integration with scripting languages, would be to replicate the concept of distributed objects in Cocoa.
<http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DistrObjects/Concepts/architecture.html>

--


Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to