r/programminghorror
•
u/KeyIllustrious587
•
Nov 04 '26
•
1
Java Jenny mod deobfuscated funnies
525
Upvotes




247
u/SSUPII Nov 04 '26 edited Nov 04 '26
If this is decompiled it might also be artefacts of that.
But I have no idea how decompilation works in the context of compiler-optimized code.
39
u/csabinho Nov 04 '26
Context?
64
u/MMORPGnews 29d ago
It's not ai. Funny story
Worked long ago in certain company, because of regulations etc one guy created super inefficient script. Since there was no other way. I worked with his script for a few months, before getting fired.
Now over 10 years a got a message from company about this script, how it works, why dev (he blacklisted them) used AI to create trash, why it was approved by me and used, how much damage it's done etc
There were no ai 10 years ago, script was "stupid" because of regulations, and only in high usage mode, in light usage it was very good.
33
u/snerp Nov 04 '26
The last two seem fine to me. The second one is by far the worst but at least you can tell what’s going on in per func unlike that yandere sim code that just sprawls with random logic.
12
u/Kolatra 29d ago
I don't think decompiled code belongs here, would fall under rule 5 because you're not gonna get the original intent of the developer with it.
7
u/cecialix Nov 04 '26
I'm a programmer myself so I more or less understand what's happening here. I'm not familiar with Minecraft specific code though, can you explain what's funny about these? Genuinely curious, lol
3
u/Spaciax 29d ago
average level of software design principle adherence in a game mod:
no flame to the developers, making good code when you either can't change the source code of minecraft, or in scenarios where you can use mixins, are encouraged to avoid it as much as possible, leads to ridiculous situations like this one.
2
u/SartenSinAceite 28d ago
Feels more like bruteforced code than anything.
Most likely a "what if?" experiment that was never cleaned up (as we all know, those cleanups do nothing but break up everything!)
1
u/Thelatestart 29d ago
These are fine
-8
u/AnArmoredPony Nov 04 '26
deobfuscated code is same as generated code imo
0
u/HeartwarmingFox 29d ago
So why exactly are we hating on code?