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 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.