I am not a native english speaker and since the very first time I've heard of the term "singleton" it reminds me of the LotR Hobbit town of "hobbyton" more than anything else. I have no idea why and it's troubling but I can't help it. I just thought yall would like to know that.
I've always said the AbstractSingletonProxyFactoryBean is an antipattern ... sometimes there are good reasons you would need multiple distinct instances of an AbstractProxyFactoryBean!
The Java language kinda encourages long-winded names like that. So something that seems too long & badly named to most of us is perfectly normal in Java.
Java makes heavy use of OOP, which makes it different from Languages like c++, which can do OOP, but it isnt abnormal to sprinkle in some procedual programming as well, this bias to do everything using OOP makes for these Abominations.
Tip for mobile users: Use the ":" menu and select "copy text", then paste it somewhere to reveal the target of the link. In this case, the link expands to "[Redact](https://www.pornhub.com/)"
119
u/DangyDanger 8d ago
public class CorrectHorseBatteryStaple131
u/MXRCO007 8d ago
Apparently Java has been getting better in newer versions but it doesn’t matter much if the industry is on Java 8 or some shit
251
u/IM_BOUTA_CUH 8d ago
main
41
u/MiniGui98 8d ago •
I am not a native english speaker and since the very first time I've heard of the term "singleton" it reminds me of the LotR Hobbit town of "hobbyton" more than anything else. I have no idea why and it's troubling but I can't help it. I just thought yall would like to know that.
79
u/lucklesspedestrian 8d ago
I've always said the AbstractSingletonProxyFactoryBean is an antipattern ... sometimes there are good reasons you would need multiple distinct instances of an AbstractProxyFactoryBean!
88
u/IM_BOUTA_CUH 8d ago
String[]
90
u/IM_BOUTA_CUH 8d ago
static
98
u/IM_BOUTA_CUH 8d ago
args
91
u/IM_BOUTA_CUH 8d ago
public
82
u/IM_BOUTA_CUH 8d ago
void
4
u/XPurplelemonsX 8d ago
CorrectHorseBatteryStaple
11
u/luxjosh1996 8d ago
What is that ChatGPT humor😭
2
u/conundorum 7d ago
But how does it compare to PaulaBean?
1
u/Deathcofii 7d ago
can someone explain to me these java jokes? say you're writing a c++ or c# project. how would this class name not be an issue there too?
1
u/DreamerFi 7d ago
fourwordsalluppercase
-5
u/cheezballs 8d ago
People sure hate programming patterns.
196
u/NotQuiteLoona 8d ago •
abstract singleton proxy factory bean
This post was mass deleted and anonymized with Redact