Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Object-oriented Programming in JavaScript
Rating: 4.6 out of 5(4,435 ratings)
23,315 students

Object-oriented Programming in JavaScript

Learn all about OOP, understand the most confusing parts of JavaScript and prepare for technical interviews
Created byMosh Hamedani
Last updated 4/2018
English
EnglishSpanish [Auto],

What you'll learn

  • Understand the most confusing parts of JavaScript
  • Learn all about object-oriented programming
  • Prepare for technical interviews
  • Manage and reduce complexity in code
  • Build re-usable components
  • Write cleaner code
  • Learn all about prototypes and prototypical inheritance
  • Use ES6 features (classes and modules) and tooling

Course content

6 sections64 lectures3h 53m total length
  • What is OOP?1:45

    Learn the object-oriented programming paradigm, centered on objects rather than functions. Explore how it is supported across languages like C#, Java, Ruby, Python, and JavaScript, with JavaScript implementations.

  • Four Pillars of OOP7:02

    Explore the four pillars of object-oriented programming—encapsulation, abstraction, inheritance, and polymorphism—through practical examples that contrast procedural code with object-oriented code, showing how objects, properties, and methods reduce complexity.

  • Setting Up the Development Environment2:16

    Set up the development environment for object-oriented programming in JavaScript using Visual Studio Code and the live server extension, then run index.html and index.js to see hello world.

  • Course Structure2:55

    Understand the course structure for object-oriented programming in JavaScript, mastering objects, prototypes, and prototypical inheritance, then explore ES6 classes and modules as syntactic sugar over prototypes through an exercise-driven approach.

  • Asking Questions0:33

Requirements

  • At least 3 months experience with JavaScript

Description

What is Object-oriented Programming (OOP)?

Object-oriented programming (OOP) is a popular programming paradigm or style of programming. It’s been around since ‘70s, but unlike tools and frameworks that come and go, OOP is still very relevant today. That’s because it’s not a programming language or a tool. It’s a style of programming.


Why learn OOP?

OOP helps you manage and reduce complexity in software by building re-usable building blocks (objects). Properly designed objects provide a simple interface and hide the unnecessary complexity from the outside, just like a DVD player! A DVD player has a complex logic board on the inside and a few buttons on the outside. When you press the play button, you don’t care how all those microchips talk to each other.


Object-oriented programming helps you:

  • Manage and reduce complexity
  • Eliminate redundant code
  • Build re-usable building blocks
  • Write cleaner code


An essential skills for every developer

OOP comes up in many technical interviews. So if you really want to be a serious developer, you need to understand object-oriented programming. As a technical interviewer myself, if I see a candidate with OOP on their resume, that candidate stands out to me. 

It may interest you to know that many of the popular frameworks out there that you might be using are actually designed with OOP concepts in mind. Angular is an example of such frameworks! 


A Step-by-Step, A to Z course

What you'll get when you sign up for this course:

  • Learn all about object-oriented programming in JavaScript
  • No more wasting time on disjointed tutorials
  • Learn at your own pace - lifetime access - so take your time if you prefer
  • Watch on any device, online or offline
  • Solidify your understanding of JavaScript
  • Prepare for technical interviews
  • Confidently build applications with Node, Angular, React, Vue and other JavaScript libraries
  • Learn the best practices and common pitfalls to avoid
  • Certificate of completion to present to your employer


You'll learn

  • The core principles of OOP: encapsulation, abstraction, inheritance and polymorphism
  • How to implement OOP concepts in JavaScript
  • All about objects, their properties, property descriptors, getters and setters
  • Difference between factory and constructor functions
  • How "this" works in JavaScript
  • Prototypes and prototypical inheritance: one of the confusing parts of JavaScript
  • ES6+ features used in object-oriented programming


This course is for you if:

You’re a developer who already knows OOP principles but want to learn how to implement them in JavaScript.


You’re a developers who is not familiar with OOP, perhaps you just know the basics of JavaScript and want to solidify your understanding of JS and prepare for technical interviews.

Having OOP and JS on your resume helps you find more jobs and make more money.

Are you ready to take your JavaScript skills to the next level? Enroll in the course and get started. 

Who this course is for:

  • Any JavaScript developers who wants to solidify their understanding of JavaScript
  • Anyone preparing for technical interviews
  • Developers familiar with OOP who want to learn how to implement it in JavaScript