You are previewing Eloquent JavaScript.

Eloquent JavaScript

Cover of Eloquent JavaScript by Marijn Haverbeke Published by No Starch Press
O'Reilly logo

Chapter 6. Object-Oriented Programming

In the early 1990s, a thing called object-oriented programming swept through the software industry. It defined a whole new paradigm for writing programs. A bunch of ideas that had been simmering in research labs, and obscure experimental programming languages for a decade were finally picked up by the mainstream. Books were being written, courses were being given, and a whole culture sprang up. We had found the right way to write programs.

As it usually goes with new fashions, the effectiveness of this new style of programming was greatly exaggerated. It turns out that programming was still hard, even with objects. In fact, some of the rigidly object-oriented ideas that were adopted (and enforced) by languages ...

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