r/shittyprogramming • u/john2496 prnit "Super Senior Shitty Programmer': • Aug 02 '19
Anyone who looks at this code instantly becomes insane (looks fine too me 🤷♂️)
https://github.com/raxod502/TerrariaClone/issues/19
199
Upvotes
53
u/loveinalderaanplaces Aug 02 '19
I appreciate the author's willingness to poke fun at themselves.
43
u/[deleted] Aug 02 '19
As a non-Java programmer, it looks like ordinary Java code to me.
19
u/GearBent Aug 02 '19
Amazing.
A true inspiration to us all.
13
u/LpSamuelm Aug 03 '19
Urgh, that one person is almost certainly trolling, but it's a bit too close to things some people would actually say in earnest for it to be funny…
11
u/nathancjohnson Aug 03 '19
The indentation level on line 1948 made me insane
7
u/terserterseness Aug 03 '19
People who think this is really bad haven't been around long... I can follow it quite fast and yeah, shitty coding style, but whatever. We did a Java code review on 1m lines of code for a HP project outsourced to India; it was literally almost impossible to follow what anything did. It looked like code golf done really well; there were constructs in there which looked Markov chain generated. But it compiled. And it 'worked according to spec' 'just enough'. Give me this code any day of the week over that crap.
5
u/[deleted] Aug 02 '19
True.
4
u/nathancjohnson Aug 03 '19
Holy shit 6.5k lines in TerrariaClone.java
I thought it was bad when I had to deal with a 6000 line PHP class... whew
3
u/ChryGigio Aug 03 '19 edited Sep 15 '23
drab gold agonizing follow possessive screw homeless recognise sparkle frame
this message was mass deleted/edited with redact.dev2
u/[deleted] Aug 03 '19
Terraria in the wild, didn't expect that.
2
u/[deleted] Aug 15 '19
I have never seen an minimized compiled language. Variables are one or two letters
1
u/[deleted] Aug 03 '19
oh god this hurt
1
u/zyxzevn Aug 04 '19
Was it automatically converted from C++ ?
1
u/daniminas Aug 05 '19
Im going to print all that code before it gets erased for breaking the TOS
1
u/form_d_k Aug 18 '19
I like the class that starts on line 400 and ends on 5460. Very strict adherence to single-responsibility.
1
u/form_d_k Aug 18 '19 edited Aug 18 '19
r/nextlevelshittyprogramming
1
u/HerissonMignion Nov 03 '19
wtf