Introduction
JavaScript is an essential part of programming nowadays… And as an object-oriented programmer who have used Java or C# or C++ for some time, there are many weird things when you look at JavaScript, especially for the first time!
In this Object/Prototype based (and not Object-Oriented!) language, you don’t have concepts like classes/instances, at least the same way you have them in OO languages. In JavaScript, we only have Objects! And the objects are “prototypical”; they could be used as “prototypes” for other objects, which basically let them share their properties (and functions.)
In other words, objects in JavaScript inherit their properties (and functions) from their prototypes. Therefore, to understand JavaScript better, one should first try to understand prototypes.
This course tries to teach you the principles of JavaScript prototypes in less than an hour, in an "easy to catch" manner 😊
Curriculum
-
01
Chapter 1- Introduction
Show Content -
02
Chapter 2- Prototypes and Prototype Chains in JavaScript
Show Content- Intro to Prototypes FREE PREVIEW
- Prototype Chain
- Code Snippets Used in Chapter 2
- Before You Leave This Chapter... FREE PREVIEW
-
03
Chapter 3- Constructor Functions and Prototypes in JavaScript
Show Content- Constructor Functions in JavaScript
- Constructor Functions and Prototypes
- Code Snippets Used in Chapter 3
- Before You Leave This Chapter...
-
04
Chapter 4- More on "this" in Constructor Functions
Show Content- Using "this" in Constructor Functions
- Code Snippet Used in Chapter 4
- Before You Leave This Chapter...
-
05
Chapter 5- An Example of Using Prototypes in JavaScript
Show Content- Mimicking Class Inheritance in OO Languages Using Prototypes in JavaScript
- Code Snippet Used in Chapter 5
- Before You Leave This Chapter...
-
06
Chapter 6- Wrap Up
Show Content- Best Practices and References
- Before You Leave This Chapter...
- Before you go...
- You're done!
- Audio Files of the Videos in this Course
About the Instructor
Reza Khojasteh has been a software developer and instructor for more than two decades now, although he loves teaching the most!
He holds B.Sc. and M.Sc. degrees in computer science and software engineering and has always been passionate to find new methods to teach the concepts of computing and programming to students, in the easiest possible ways.
Doing that, he has tried to constantly observe the real world to find samples/patterns in the real life, and use them to convey the concepts of the cyber world, better.
He mostly considers himself as a "second teacher"; a phrase which he has made up to express what he does; learning new subjects and teaching them to others, so that they would be easier to catch!
-
What Others Say
Reza Rastegar
Ph.D. in Applied Mathematics at Iowa State University and Director of Data Analytics in Occidental Petroleum, Houston, TX, USA
-
What Others Say
Amir Hadad
Ph.D. in Computer Science at the Australian National University and Lead Architect (Big Data Solutions) at Capgemini, Canberra, Australia
-
What Others Say
Hamed Janzadeh
Senior Machine Learning SDE, AmazonAI, Amazon Web Services, Palo Alto, CA, USA