When to use Object Oriented Programming

Hey ,

I'm thrilled to help you learn JavaScript. Unfortunately, you've landed on a page where you cannot access with your current purchase.

Please upgrade (use this link) access this content.

I'm super eager to help you learn more!

When to use Object Oriented Programming

If you say yes to any of these two points, you might want to consider Object Oriented Programming.

  1. You want to expose properties/methods
  2. You want to create two (or more) objects that are similar.

Otherwise, nope. You don’t need Object Oriented Programming. Keep it simple!

How to use Object Oriented Programming in real projects

Object Oriented Programming is closely related to the next module, Writing Reusable Code. You’ll learn to apply lessons from both Object Oriented Programming as we improve components in the next module.