Chapter 9. Class Responsibilities

Woe to him who fails in his obligations.

—Irish proverb

Identifying the intrinsic responsibilities of a problem space entity and abstracting them into an object is the heart and soul of OO development in the sense that these activities are the most common things you will do in solving the customer problem. Furthermore, the way that we abstract responsibilities is probably the single most distinguishing feature of OO development compared to procedural or functional development. This is where the OO rubber meets the developmental road, so we’re going to spend some time here.

Attributes: What the Objects of a Class Should Know

Attributes define obligations for knowing something. In the static model we are interested ...

Get Model-Based Development: Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.