Interfaces and delegates

06/04/11

Interfaces and delegates

“…an interface with one method is just a delegate…”

Sheer brilliance.

Mark Rendle said that on a Herding Code podcast. The context was that interfaces in APIs require that callers reference an assembly containing the interface definitions, and that versioning issues arise. A functional approach has the potential for avoiding those issues.

It’s a different way of looking at things. I wonder if he’s played Portal?


Your Host: webmaster@truewill.net
Copyright © 2000-2013 by William Sorensen. All rights reserved.