JavaScript Object-Oriented Masterclass

What you'll learnObjects and functionsScopes and closuresThe "this" keyword and call, bind and apply functionsThe module patternPrototype-based object-oriented programmingPrototypes vs classesA deep-dive into the constructor patternClassesConcatenative inheritance and prototype-based OOPMultiple Inheritance using concatenative inheritancePrivate variables and functionsIntroduction to TypeScriptExplore a real-world object-oriented JavaScript application

Created by: Mehdi Maujood

Produced in 2019

icon
Course Description

Description"- the use of classes ... is the source of a number of complications. This paper discusses prototypes as an alternative to classes ... In a prototype-based language, copying rather than instantiation is the mechanism provided to the user for making new objects."This is a line from a 1986 research paper discussing prototypes as an alternative to classes. Did you know that JavaScript is a prototype-based language and does not need classes? Did you know that JavaScript's Object-Oriented system is actually simpler than classes?Unfortunately, due to the language being marketed as "Java's little brother", something called the "constructor pattern" was designed as a way to for the language to "look like" class-based Java. The decision to conceal JavaScript's true identity as a prototype-based language in favor of something that looked like half-baked classes has led to widespread confusion among developers that lives to this day.In this course, we will explore JavaScript's true identity as a prototype-based language and look at different ways of doing OOP in JavaScript. We don't ignore classes or constructors - we will study them deeply and learn how they are abstractions over a prototype-based system and learn how to effectively utilize them.In this lesson, we will learn how to write effective, maintainable and robust object-oriented code using JavaScript.Who this course is for:Beginning and intermediate JavaScript developers.Advanced JavaScript developers: Many advanced developers I know are unfamiliar with OO secrets of JavaScript

icon
Instructor Details

Mehdi Maujood

I have been writing software for over 15 years and creating great software and mentoring junior developers is my passion. I have written software for a number of well-known companies like Toyota, Honda, Lamborghini, Bentley, NASCAR, Nestle and many more and hope to keep writing more.

Technologies I have worked with include JavaScript, Salesforce, the .NET platform and Sitecore.

Read More

icon
Reviews

0.0

0 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete
% % % % %