Interface based Development

This is a great article on the benefits of interface based development. I might be doing a presentation on that when I go to Tulsa TechFest in October, so you might be seeing more blog posts than normal by me.

 http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_interrfaces03052006095933AM/csharp_interrfaces.aspx?ArticleID=cd6a6952-530a-4250-a6d7-54717ef3b345

posted @ Thursday, September 06, 2007 10:20 AM

Print

Comments on this entry:

# re: Interface based Development

Left by Jason Bock at 9/6/2007 10:41 AM
Gravatar
DBC and IBD have nothing to do with each other. Just because you follow IBD doesn't mean you're doing DBC. DBC is all about enforcing pre- and post-conditions as well as class invariants (among other things). Look at Eiffel or Spec# for details on DBC.

Regards,
Jason

# re: Interface based Development

Left by Robz at 9/6/2007 3:01 PM
Gravatar
Thanks Jason for setting me straight. I guess I got hung on the words design and contract and misunderstood the concept itself a little. I had read about DBC in The Pragmatic Programmer and went back after reading your post and brushed it up a little. It is more about contracting behaviors and the concept of contracts I am thinking of is designing contracts between code using interfaces that guarantee methods and signatures. So to make it short, designing contracts that are not behaviors but code infrastructure. And that really isn't DBC. :D

Your comment:



 (will not be displayed)


 
 
 
Please add 3 and 8 and type the answer here:
 

Live Comment Preview:

 
«August»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456