[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Calling undeclared 'virtual' methods..
From: |
Gopal V |
Subject: |
Re: [DotGNU]Calling undeclared 'virtual' methods.. |
Date: |
Fri, 6 Dec 2002 00:54:17 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Chris Smith wrote:
> OBJ.Method.some.false.method( .... );
Late binding ? ...
Obj.Method.Call("some.false.method",....); is the only way I know ...
Which is like sort of doing obj.__getattr__["some.false.method"].__call__()
in Python .... Fortunately python does that transparently ... but C# cannot.
> Like AUTOLOAD in perl for creating 'false' methods...
perl is like , kinda dynamic ...
> Message.Send<.some.destination.namespace>( stuff );
like I said , why not pass the "variable" as a "parameter" to the function ?.
Or maybe even
Connection.DispatchTable["some.destination.namespace"](....stuff...);
Because these are the things that go-on inside a dynamic language
implicitly ... All we can do in C# is to specify it explicitly ..
Could you push the link for where this is possible in Java ? ....
(I'd like to know if I'm wrong :-)
Gopal
--
The difference between insanity and genius is measured by success