What patterns are (and are not)
On This Lesson 4 topics
The content for this lesson is written and waiting for review. The outline below shows what it covers. It will be published once it is approved.
In this lesson
understand what a design pattern is.
Planned topics
- A pattern is a named, reusable solution to a common design problem.
- It gives the team a shared vocabulary: "use a Strategy here".
- It is a recipe, not code to copy; you adapt it.
- Patterns are not goals. Do not use one when a simple function or class is enough.
- Many patterns are already in the JDK and Spring.
Draft outline details
Demonstration
a list of the seven patterns in this module with one problem line each.
Check your understanding
Is a pattern a library you add?
Show answer
No, it is an idea for structuring code.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.