Forgot your password?
typodupeerror
Programming

+ - Why Is "Design by Contract" Not More Popul

Submitted by
Coryoth
Coryoth writes "Design by Contract, writing pre- and post-conditions on functions, seemed like straightforward common sense to me. Such conditions, in the form of executable code, not only provide more exacting API documentation, but also provide a test harness. Having easy to write unit tests that are automatically integrated into the inheritance hierarchy in OO languages "just made sense". However, despite being available (to varying degrees of completeness) for many languages other than Eiffel, including Java, C++, Perl, Python, Ruby, Ada, and even Haskell and Ocaml, the concept has never gained significant traction, particularly in comparison to unit testing frameworks (which DbC complements nicely), and hype like "Extreme Programming". So why did Design by Contract fail to take off?"

Most people will listen to your unreasonable demands, if you'll consider their unacceptable offer.

Working...