4.5. Principles for OO design

In this section we list some principles for object-oriented software engineering. As kind of an intellectual game, we’ve made an effort to label each principle with an OOA, OOD, or OOP, according to at which stage of the software engineering process the principle is most likely to come into play. The idea is that principles marked OOA are things you can work out when you’re doing the high-level design, the OOD are things that you’ll get into when you work out the detailed design for the classes, while the principles marked OOP are design details that you’re more likely to think of after you start coding. Don’t take these labels too seriously!

  • OOA: An object is an organism. Make class objects responsible for all ...

Get Software Engineering and Computer Games now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.