posts - 4237, comments - 3946, trackbacks - 370

Disclaimer

This was my personal weblog originally hosted by UgiDotNet, written mostly in Italian.

This blog is now part of my new site:
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 employers.

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.