O'Reilly logo

Agile Principles, Patterns, and Practices in C# by Robert C. Martin, Micah Martin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

32. Observer: Evolving into a Pattern

image

© Jennifer M. Kohnke

I prefer to describe my profession as that of a “Contemporary Anthropological Interactive OBSERVER” because it has just the right amount of flair. Besides, “stalker” is such an ugly word.

—Anonymous

This chapter serves a special purpose. In it, I describe the OBSERVER1 pattern, but that is a minor objective. The primary objective of this chapter is to demonstrate how your design and code can evolve to use a pattern.

The preceding chapters made use of many patterns. Often, they were presented without showing how the code evolved to use the pattern. This might give you the idea that patterns ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required