Solid Principles, Python.
case to check if the type of e is programmer, we did not have to change to print_employee function at all. And that is what we call open for extension, closed for modification. Another huge benefit of working with the open-closed principle is that removing functionality can be done relatively safe.