CHAPTER 1

image

Creating Objects

Objects were a software experiment that worked. They were invented in the 1960s and in research labs in the 1970s. They became the new, mainstream programming paradigm in the 1980s. By the 90s, languages that were being created (Java, JavaScript, Python, and Ruby) were all object-oriented. Languages that predated objects were being retrofitted. Today, even the latest versions of 50-year-old languages (BASIC, Cobol, and Fortran) have adopted objects.

In this book, we will be examining two object models supported by JavaScript. We need to understand the benefits of objects to see how these alternatives provide the benefits ...

Get JavaScript Object Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.