Hacker News new | ask | show | jobs
by campnic 4877 days ago
I like Martin Fowler's Refactoring. This is called 'Replace conditional with subtype' explained here: http://www.refactoring.com/catalog/replaceConditionalWithPol...

The book is a good read and a fantastic reference.