Wai Lee wrote a blog post showing examples where refactoring conditionals to polymorphism might introduce unnecessary complexity and actually make our code worse. According to Wai, it’s better to wait until we can see our code turning bad, due to code duplication, for example, before trying to fix it.

Previous Episodes

In today's episode, learn about the initializing and, get responsible with your refactoring, simplify your regular expression creation, get skeuomorphic with your credit card forms and so much more! Actually, just one more thing: two-factor authentication done easy. Now there's no more!