Just found this 4-year-old video which can be very instructive : Misko Hevery fights against if/switch statements using object oriented techniques to remove them.
“The Clean Code Talks — Inheritance, Polymorphism, & Testing” – YouTube.
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution 3.0 Unported License.