Solid Principles, Python.
switch can be multiple places. Every time a new employee subclass is created, you have to change the code in all those places. It now becomes very clear that we cannot extend the functionality without changing existing working code. And there is the risk of changing the code in one place, but