Top Tech Book

The Principles of Object-Oriented JavaScript

By Nicholas C. Zakas

~100 reviews

If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled—JavaScript is an incredibly powerful and expressive object-oriented language that puts many design decisions right into your hands.

In The Principles of Object-Oriented JavaScript, Nicholas C. Zakas thoroughly explores JavaScript's object-oriented nature, revealing the language's unique implementation of inheritance and other key characteristics. You'll learn:

  • The difference between primitive and reference values
  • What makes JavaScript functions so unique
  • The various ways to create objects
  • How to define your own constructors
  • How to work with and understand prototypes
  • Inheritance patterns for types and objects

The Principles of Object-Oriented JavaScript will leave even experienced developers with a deeper understanding of JavaScript. Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.

Pros

  • Goes over lots of advanced topics, perfect for intermediate developers
  • Clear, concise, no fluff content
  • Section on object oriented JavaScript is easy to understand and follow

Cons

  • Does not cover ES6 features
  • Rehash of Professional JavaScript for Web Developers (if you own that, no need to purchase this book)
  • Not enough real world examples

Top Tech Book Review

This book is ideal for intermediate and advance developers with a basic understanding of JavaScript. The author does a good job in explaining object-oriented concepts in a no-fluff kind of way. Concise and to the point.

Do note, if you already own Professional JavaScript for Web Developers, this book is basically a rehash of it. Don't waste your money in buying this book. Also, this book does not cover ES6 features.

If you are a developer that appreciates theory and conceptual examples, then this book is perfect for you!