course
JS: Polymorphism
1 student
Course updated
23 January 2023
Included in the course
14 lessons (video or text)
43 quizzes
Assistance in Discussions on the website
Access to other courses of the our platform
What you'll learn
- Understand the difference between different types of polymorphism and the tasks they solve
- Recognize and apply design patterns (Strategy, Factory, State, Decorator, Null Object and others)
- Use different types of dispatch to reduce and simplify code
Description
Polymorphism (of subtypes) – the main distinguishing feature of modern OOP. It allows to significantly reduce the number of conditional constructs and makes the code extensible.
At the same time, polymorphism is a large and deep topic that requires serious preparation. This is where design patterns and SOLID principles come in. All this is an integral part of JavaScript development for professional developers.
dynamic dispatch
parametric polymorphism
polymorphism of subtypes
dependency inversion
design patterns
Lessons
-
8
Code that kills polymorphism
Learn about common mistakes that cause polymorphism of subtypes to be lost -
9
Dependency inversion
Explore the Dependency Inversion Principle and learn how to follow it using Dependency Injection -
13
Object composition
Learn to write object-oriented code built on the interaction of objects -
15
Additional resources
Some materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic
Suggested learning programs
From a novice to a developer. Get a job or your money back!

Profession
beginner
Development of front-end components for web applications
start anytime
10 months