r/programminghumor • u/Gaious_Octavious • 5d ago
public static void main doesn't look so bad now innit
wEbHoOkEnDpOiNtObJeCtObJeCt 💀
8
u/iSTeeWx_ 4d ago
This is one of the class names of all time:
HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor
3
2
4
5
u/Interesting_Buy_3969 4d ago
Java has no naming issues by design btw
1
u/DarthRaab 1d ago
Auto generation. It's trying to be precise more than to find shortcuts to keep it human-readable.
2
2
u/TREE_sequence 3d ago
Well somebody told me the UserProvider should use an adaptor to query the ProxyFactoryBuilder … 🎵
2
u/Dr_Dressing 1d ago
ObjectObject.
Look, I don't claim to know all my patterns like some wizard. But I'm fairly certain that whoever named these files either doesn't know any patterns, or invented something new entirely.
I can only applaud.
1
2
u/Sacaldur 5d ago
Why does the class have object in its name? An object is an instance of a class.
And why does it have it twice? What is an ObjectObject supposed to be?
1
u/Gaious_Octavious 4d ago
good question. our company does not write sdk manually, it is generated using Fern (deterministic generation, not AI) from the OpenAPI spec
checkout https://github.com/fern-api/fern and https://github.com/focussofthq/marketsdk-java
21
u/Diocletian335 5d ago
This is peak Java production code.
It's beautiful.