Fervent Coder

Coding Towards Utopia...by Rob Reynolds
posts - 278 , comments - 431 , trackbacks - 0

My Links

News


Rob Reynolds

Subscribe to Fervent Coder RSS
Subscribe to Fervent Coder by Email

About Me

I manage several open source projects. Need...
   ...package management for Windows?
   ...automated builds?
   ...database change management (migrations)?
   ...your application to check email?
   ...a monitoring utility?

I also write for



Like what you are reading? Want to buy me a cup of coffee?
PayPal - The safer, easier way to pay online!

Archives

Post Categories

Sites

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

Print | posted on Thursday, September 6, 2007 10:20 AM | Filed Under [ Code ]

Feedback

Gravatar

# re: Interface based Development

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
9/6/2007 10:41 AM | Jason Bock
Gravatar

# re: Interface based Development

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
9/6/2007 3:01 PM | Robz
Comments have been closed on this topic.

Powered by: