course
JS: Polymorphism
2 students
Course updated
25 July 2023
Included in the course
14 lessons (video or text)
37 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.
dependency inversion
polymorphism of subtypes
parametric polymorphism
dynamic dispatch
design patterns
Course program
Estimated time: 5 hours
-
8
Code that kills polymorphism
Learn about common mistakes that cause polymorphism of subtypes to be lostquiz
-
9
Dependency inversion
Explore the Dependency Inversion Principle and learn how to follow it using Dependency Injectionquiz
-
15
Additional resources
Some materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic