CSC/ECE 517 Summer 2008/wiki3 8 jb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


===Small Interfaces===
===Small Interfaces===
The principle of small interfaces is about keeping the size of method parameters to a minimum [http://cs.anu.edu.au/student/comp2110.2001/lectures/lec23/lec23.html].
===Explicit Interfaces===
===Explicit Interfaces===
===Uniform-access===
===Uniform-access===

Revision as of 01:48, 22 July 2008

This wiki will explore some of Bertrand Meyer's contribution to OO design, including the principles of small interfaces, explicit interfaces, uniform-access, self-documentation, and single-choice. We intend to show good examples of each principle, discuss their support in languages other than Eiffel, and discuss whether it is difficult to follow these principles in certain OO languages.

Background

Principles

Small Interfaces

The principle of small interfaces is about keeping the size of method parameters to a minimum [1].

Explicit Interfaces

Uniform-access

Self-documentation

Single-choice

Links

Wikipedia page for Bertrand Meyer