Try to build a collection of Design pattern examples in Java, I am going to prepare few examples for each pattern. With this process to help myself understand more about the concept.
- Software design pattern is a reuseable solution for common occuring problems.
- So that when encounter similar problem again, you dont have to reinvent the wheel everytime.
- Design pattern is not invented but identified/spotted/found.
The design patterns are usually categorized into 3 sub-classifications, based on type of problem the design pattern can be solved.
- Creational
- Structual
- Behavioral
π Head First Design Patterns: A Brain-Friendly Guide: Building Extensible and Maintainable Object-Oriented Software By Eric Freeman & Elisabeth Robson
π Design Patterns: Elements of Reusable Object-Oriented Software By Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides (The Gangs of Four)