FAQ 8.07 Why does C make it so hard to fix the OstrichBird dilemma?

FAQ 8.07 Why does C++ make it so hard to fix the Ostrich/Bird dilemma?

The problem is bad domain analysis and has nothing to do with C++.

The problem of whether or not Ostrich is substitutable for Bird is not a failure of the C++ language, nor is it a failure of object-oriented technology. It is a failure of domain analysis. The domain analysis incorrectly concluded something about the problem domain: that the altitude of all kinds-of birds is positive when they fly.

Stable OO software depends on both an accurate understanding of the problem domain and properly encoding problem domain knowledge in class relationships. If nobody on the design team understands the problem domain (in this case, birds), it should not be surprising that the design will be flawed. This underscores the critical role of the "domain expert" on OO projects.



C++ FAQs
C Programming FAQs: Frequently Asked Questions
ISBN: 0201845199
EAN: 2147483647
Year: 2005
Pages: 566
Authors: Steve Summit

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net