4 ms·
In fact, some OO purists from the original days of OO suggest using this technique generally to always avoid conditionals anywhere. Polymorphism over conditiona
by jrochkind1 12y ago
In fact, some OO purists from the original days of OO suggest using this technique generally to always avoid conditionals anywhere. Polymorphism over conditionals.
http://sourcemaking.com/refactoring/replace-conditional-with-polymorphism http://sourcemaking.com/refactoring/replace-conditional-with...