CSC/ECE 517 Summer 2008/wiki3 8 smr: Difference between revisions
Line 24: | Line 24: | ||
=== Single-choice === | === Single-choice === | ||
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages? | What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages? | ||
[http://en.wikipedia.org/wiki/Single_choice_principle] | |||
== Conclusion == | == Conclusion == |
Revision as of 02:35, 24 July 2008
Meyer's principles. Bertrand Meyer is a prominent author in o-o design. He has developed a set of principles, many of which are embodied in the Eiffel language. Consider the principles of small interfaces, explicit interfaces, the uniform-access principle, the self-documentation principle, and the single-choice principle. What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?
Introduction
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?
Small Interfaces
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?
Explicit Interfaces
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?
Uniform-access
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?
Self-documentation
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?
Single-choice
What are good examples of each? Do other languages besides Eiffel support them? Is it difficult to follow these principles in certain o-o languages?