Five Lines of Code: How and when to refactor

Five Lines of Code: How and when to refactor