Best of Design Patterns — April 2024
- 1
- 2
Javarevisited·2y
Mastering Design Patterns in Java
This post explores various design patterns in Java, including the Singleton pattern, Factory Design pattern, Builder pattern, Adapter pattern, and Decorator pattern. It explains how these patterns can be used to solve common design problems and improve code maintainability and reusability.
- 3
- 4
- 5
ProAndroidDev·2y
Kotlin Design Patterns: Memento Explained
The Memento design pattern is used to save and restore the previous state of an object. It is commonly used in versioning systems, rollback, and undo functionality. The pattern hides the complexity of saving and restoring the state and provides an easy-to-use history system. However, it requires a lot of memory to store a series of states.