2. Why Patterns Encapsulates Best Practices and Lessons Learned Reusable Solutions to Recurring Problems Forms a Vocabulary for Describing Architecture
3. What is Wrong With Patterns Often Not Well Understood Often Misused Often Causes Confusion Instead of Clarity Once Done Poorly Everyone is Inclined to Avoid Future Opportunities
4. Steps for Using Patterns Effectively Refactor To Patterns Refactor Towards Patterns Refactor From Patterns TRAIN TRAINTRAINTRAIN Study Patterns in Context Study Patterns Outside of a Project Before Using
5. Strategy Pattern Encapsulate Related Algorithms Behind a Common Interface Multiple Types Implement the Common Interface Switch Implementations by Switching Types Because Each Type Implements the Common Interface, Each Type can be Treated the Same
6. Sample Strategies Plug-ins Provider Patterns Amortization Schedules in a Mortgage Calculator Multiple Views to a Single Presenter State Object for State Specific Business Logic Logic
7. Strategy Code Password Complexity Validation Each Class Will Define a Validation Test Driver Process Will Loop Through the Configured Tests and Evaluate the Results