06 Prove
Design Patterns
Objectives
Learn about design patterns.
Learn about the strategy pattern.
Introduction
Design patterns are guidelines/best practices for how to structure your code in certain scenarios. These aren't compiler-rules or Java libraries, they are language-agnostic principles developed by the software development community over the years.
There are many different design patterns. Throughout the rest of the semester, we'll be learning a new pattern each week.
Assignment
-
Read this overview of Design Patterns. You don't need to read the details of each pattern at this time.
-
Read this StackOverflow post, which provides another example of the Strategy Pattern.
-
Read this StackOverflow post which contains more examples of the Strategy Pattern.