
Object-Oriented Programming
Tenets: SMALL, 1THING, REUSE, hier
Central concept: Use software leverage to your advantage.
After the discussion on Java, you may be wondering why we’re bringing up
the idea of object-oriented programming (OOP). The reason is that, while
Java is the leading object-oriented language today, it is not the whole story
about OOP. And—surprise of surprises—some programmers have demon
-
strated that one can write non-object-oriented programs in Java if one chooses
to do so. (To one’s peril, I might add.)
OOP represents a tectonic shift from structured or procedural program-
ming, the way things were done in languages like C and Pascal. ...