When A Method Can Do Nothing
November 19, 2013
Refactoring is full of choices. When I start to work on a large method I look at its overall structure and try to get a sense of how to break it down. Conditional statements are often problematic for me.
if (...) {
...
}
When I have an if-statement like this I know that I have a choice. I can extract the if and its . . .