design-patterns-java
design-patterns-java copied to clipboard
Design Pattern Examples in Java
Add Maven Management and Github CI support.
https://github.com/RefactoringGuru/design-patterns-java/blob/760142524cef5697bb0296f6400340380a962357/src/refactoring_guru/singleton/example/thread_safe/Singleton.java#L43-L52 Why do you prefer this overcomplicated code instead of concise, simple, thread-safe, and lazy enough ```java private static final Singleton instance = new Singleton(); ``` ?
Hi There is a minor spelling mistake in the comment
Hello I'm proposing a reorganization of your design patterns example repository. Currently, patterns are grouped in a way that makes it challenging to understand their fundamental purpose and how they...