Refactoring Workbook

Exercise 1 Small Steps.

Pick a refactoring and identify a place where the approach builds in small steps even though larger steps could work.

See Appendix A for solutions.

Exercise 2 Simple Design.
  1. Justify each of Beck's rules for simple design.

  2. Why are these rules in priority order? Can you find an example where communication overrides avoidance of duplication?

See Appendix A for solutions.

Категории