Anti Patterns - Singleton (in Java)
Nov 7, 2024 · 5 min read · Problem 01: Thread-Safety Problem Lazy initialization is one of the good implementations of singleton design patterns. It is simple to implement and memory efficient - right? If you say - Yes! Let me tell you dear, not all the time! Let’s check the s...
Join discussion











