blog.blaix.com
To DRY or not to DRY
Suppose you’re writing some code for a zoo, and one of your business rules requires you to write something like this: if animal == ‘dog’ or animal == ‘wolf’: canine = …