Why Is "Design by Contract" Not More Popular?
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?"
Agreed fully, but I'll add one half-drunk observation: Fucking Business analysts are bull-shit artists who don't know objects, nor functions if they got smacked in the heads with them. 90% of the time they bill is a complete waste of company money. Also, 60% of 'Architects' fall into the same category.
The force that blew the Big Bang continues to accelerate.
Who's Darl?
I don't have relationships with random other programmers (even if they are female and cute).
Was this supposed to be funny?
"I don't know, therefore Aliens" Wafflebox1