Cover of The Principles of Object-Oriented JavaScript

The Principles of Object-Oriented JavaScript

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:

Read more

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.

Subject
science
Themes
technology
Audience
adult
Length
short · 100 pages

Click a tag to see books like this one that share it.

Read it? Sign in to help tag it.

Liked The Principles of Object-Oriented JavaScript? Here’s where I’d start.

These suit anyone who liked The Principles of Object-Oriented JavaScript. Sign in and mark a few books for picks shaped around your own taste.

  1. Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript Shares javascript, programming, tech
  2. JavaScript Patterns Shares javascript, programming, technical
  3. You Don't Know JS: Scope and Closures Shares javascript, programming, computer science
  4. Functional JavaScript: Introducing Functional Programming with Underscore.js Shares javascript, programming, technical

“People who read The Principles of Object-Oriented JavaScript tend to reach for these next.”

  1. Async JavaScript
  2. AngularJS
  3. Speaking JavaScript
  4. Node.js in Action

“If you want more of the same (science about technology), start with these.”

  1. Working Effectively with Unit Tests
  2. Advanced C++ Programming Styles and Idioms
  3. JavaScript: A Beginner's Guide
  4. PHP Hacks: Tips & Tools For Creating Dynamic Websites

“If it was the javascript that hooked you, try one of these.”

  1. Learning Javascript Design Patterns
  2. You Don't Know JS: this & Object Prototypes
  3. JavaScript: The Definitive Guide
  4. Pro JavaScript Design Patterns

“These start from a similar idea, even if they go somewhere else with it.”

  1. Object-Oriented Design Heuristics
  2. Beginning Ruby: From Novice to Professional
  3. Fluent Python: Clear, Concise, and Effective Programming
  4. The Object-Oriented Thought Process