Home > Articles > Software Development & Management

  • Print
  • + Share This
This chapter is from the book Review Questions

Review Questions

Observations

  1. What are some alternatives for handling new requirements?
  2. What are the three fundamental principles proposed by the Gang of Four that guide how to anticipate change?
  3. What is the intent of the Strategy pattern?
  4. What are the consequences of the Strategy pattern?

Interpretations

  1. The Gang of Four suggests “considering what should be variable in your design.” How is this different from focusing on the cause of redesign?
  2. What is wrong with copy and paste?
  3. What is meant by “switch creep”?
  4. What are the advantages of the design patterns approach to handling variation?
  5. Why is the object-aggregation approach to inheritance superior to direct class inheritance for handling variation?

Opinions and Applications

  1. Have you ever been in a situation where you did not feel you could afford to anticipate change? What drove you that way? What was the result?
  2. Should you ever use switch statements? Why or why not?
  • + Share This
  • 🔖 Save To Your Account