JS: Dive into Classes

3 students
Course updated 25 July 2023
<span class="translation_missing" title="translation missing:, course: JS: Dive into Classes">Course Alt</span>
$49 per month
for all Hexlet's courses
Sign up
  • In-browser editor for exercises
  • Permanent access to theory
  • Asynchronous learning
Recommended program
Development of front-end components for web applications
10 months
from scratch
Start at any time
Layout with the latest CSS standards
5 months
from scratch
under development
Start at any time
Developing web applications with Django
10 months
from scratch
under development
Start at any time

Included in the course

8 lessons (video or text)
7 exercises in the IDE
21 quizzes
Assistance in Discussions on the website
Access to other courses of the our platform

What you'll learn

  • Choose wisely between inheritance and composition
  • Follow the Liskov substitution principle when constructing class hierarchies
  • Implement "template method" pattern
  • Learn exception hierarchies


Inheritance is one of the most complex concepts in object-oriented programming. These are not only new syntactic constructions but also different ways to structure the code. Speaking of inheritance, you need to understand its applicability and limitations. Be able to use it appropriately and find other ways when it creates more complexity in the code. All of this is covered in the course. Additionally, the Liskov substitution principle, the "template method" pattern and much more are analyzed..

Course program

Estimated time: 10 hours