posts - 4238, comments - 3946, trackbacks - 370

My Links

News



Subscribe Subscribe

image image image





This is my personal weblog. These postings are provided 'AS IS' with no warranties, and confer no rights. The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer.

Licenza Creative Commons

Tag Cloud

Archives

Post Categories

The return of IDispatch?

Che dire... a me fa un po' paura... però... vedete voi...

...Yesterday I read a post by Martin Fowler on implicit interface implementation which proposes that languages gain (or regain, in VB’s case) some of that IDispatch-like behaviour. A follow-up to it by Wesner Moise mentions that VB9 will support dynamic interfaces, which is basically a way to formalize compile-time assumptions about objects you encounter at runtime. It’s like casting the object to an interface that it might not explicitly implement. The actual compatibility check is performed at runtime, when an actual call to a method in the dynamic interface is made. This is also known as duck typing ...

Leggetelo tutto alla fonte: The return of IDispatch?

Print | posted on venerdì 6 gennaio 2006 14:35 |

Comments have been closed on this topic.

Powered by:
Powered By Subtext Powered By ASP.NET