c++ refactoring_figure 10_Post-variable extraction