Objects, objects everywhere: But what are they and how do they work? The move to object-oriented programming—called “OO” or “OOP” when you want to use an acronym—has been one of the most important trends in the programming community over the past 10 or 20 years.
This chapter addresses a number of interrelated topics, each of which is important in its own right.
To start with, what is object-oriented programming? Why is it important? What is an object? How do objects and classes relate?
By the end of this chapter you’ll be speaking, squeaking, dreaming, and rolling in objects—and, most important, you’ll have learned to think like an object-oriented programmer.