Explaining interfaces to beginning programmers?

Posted by cbmeeks on Programmers See other posts from Programmers or by cbmeeks
Published on 2011-03-03T19:23:20Z Indexed on 2011/03/03 23:32 UTC
Read the original article Hit count: 333

Filed under:
|
|

I've had discussions with other programmers on interfaces (C#). I tried to use the analogy of interfaces being like a contract between programmers. Meaning that when you design to an interface, you are designing to a "thought out plan".

This didn't fly. The other programmers (limited experience) couldn't get the concept. Or worse, refused to participate.

How do you explain to people like that there are reasons to use interfaces?

Thanks

© Programmers or respective owner

Related posts about learning

Related posts about c#