You are previewing Fluent C#.

Fluent C#

Cover of Fluent C# by Rebecca M. Riordan Published by Sams

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

The best content for your career. Discover unlimited learning on demand for around $1/day.