Why are singletons not a popular design pattern in Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Why are singletons not a popular design pattern in Java?

Java construction patterns

5th Dec 2018, 5:35 AM
lufafa noah
lufafa noah - avatar
4 Answers
+ 8
because I've been doing my research and it seems to be less popular
7th Dec 2018, 12:31 PM
lufafa noah
lufafa noah - avatar
+ 5
lufafa noah what makes you think it is not a popular design pattern?
5th Dec 2018, 7:39 AM
ifl
ifl - avatar
+ 4
seems a strange statement to me. makes me curious... would you share your sources ?
7th Dec 2018, 1:08 PM
ifl
ifl - avatar
+ 2
lufafa noah , actually it depends, it becoming an anti-pattern just because sometimes people abusing it, let's implement it, everywhere.
17th Dec 2018, 10:44 PM
Michal
Michal - avatar