Interfaces and delegates


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:
Copyright © 2000-2013 by William Sorensen. All rights reserved.