Cover page by Rebecca M. Riordan

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

13. Programming Principles

In the last chapter, we looked at some of the theory behind designing object-oriented applications, specifically how the relationships between types can be defined and implemented. It’s probably obvious that understanding the mechanics of an object-oriented design in that way is necessary, but it’s only part of the picture.

The design principles we’ll look at in this chapter address a basic fact of the programming life: It’s gonna change. Nobody is ever going to ask an architect to insert three floors in the middle of the Empire State Building, but it happens to programmers all the time. So think of this chapter as a kind of self-defense course for programmers. The principles we’ll explore will help you build an object ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required