refactoring Cleaner complex IF Statements Writing clean code like Uncle Bob describes can be complicated sometimes. I go through a variety of options in a simple script to understand implications of refactoring.