Course “JS: Dive into Classes”

Course updated on March 24, 2025

Subscribe

Access this and all courses with a subscription

What's included

Theory: 8 lessons
Exercises: 7
Questions: 21
Self-study tasks
Extra materials
Extended materials for 8 lessons

Description

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..

You will learn

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

Syllabus

1

About

Explore the course, its structure, objectives and goals.

2

Inheritance

Learn the syntactic to build class hierarchies

3

Late binding

Explore how parts of different classes within an object are related to each other

4

Template method

Explore delegation pattern

5

Overriding Methods

Learn to redefine behavior and forbid it

6

Liskov substitution principle

Learn a formal way to check the correctness of a hierarchy

7

Exceptions

Learn exception hierarchies

8

Composition instead of inheritance

Understand the limitations of inheritance and find alternative ways to work

Recommended programs

Course Cover
  • Run code right in the browser
  • Lifetime access
  • Learn at your own pace
Subscribe

Access this and all courses with a subscription