<<< Strategy of finding operations | Index | Refine the classes by specifying dependencies >>> |
Focus on what is to be done rather than how it is to be done.
Focus more on desired behavior than on implementation issues.
Classify operations:
Foundation operators: constructors, destructors and copy operators
Inspectors: operations that do not modify the state of an object
Modifiers: operations that do modify the state of an object
Conversions: operations that produce an object of another type based on the value (state) of the object to which they are applied
Iterators: operations that allow access to or use of a sequence of contained objects
Such classifications are especially useful for maintaining consistency across a set of classes within a component.
<<< Strategy of finding operations | Index | Refine the classes by specifying dependencies >>> |