The secret weapon of any Object Oriented Language!

Polymorphism in Python.

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.

Written by Loek van den Ouweland on 2020-11-18.
Questions regarding this artice? You can send them to the address below.