Polymorphism in Python

preview_player
Показать описание
In this video you see how if/else switches violate the open-closed principle and how you can solve the problem with the secret weapon of any Object Oriented Language: Polymorphism.

C H A P T E R S
1:45 The problem with checking on types with if/else
3:25 Implementing polymorphic methods that allows you to remove problematic if/else clauses
3:55 How easy it is to implement new functionality when using polymorphism

M Y O N L I N E T R A I N I N G

#polymorphism #programming #python
Рекомендации по теме
Комментарии
Автор

oh my god. iam addicted to your videos. you are explaining things in a way a layman like will understand

d_chip