I am just throwing this out there and am looking for feedback.
The other day when I was setting up the structure for a project at work I went to create a folder called interfaces (this is an API style project and this was going to hold all the public interfaces for the project), but I stopped.
As I sat there trying to figure out why I had stopped it dawned on me that I no longer liked the name interface(s) when talking about code. I really like the term Contract. The more I thought about it the more I really started to like it.
To me the term contract conveys more meaning to the next developer then the term interface. By using the contract I am making a statement to everyone else that I am putting thought into this and this is EXACTLY what I want to expose to you, nothing more, nothing less.
I think going forward I am going to start referring to my interface (IFoo) as contracts and only use the work interface when creating the actual code.
Thoughts, Feedback?
Till next time,
[--- Remember to check out www.dimecasts.net ---]
Posted
12-23-2008 2:05 PM
by
Derik Whittaker