damn i used to do that when i started out, but it was actually worse because i sometimes just took x and made x1, x2, x3 etc for all the variables i needed. caused me more than a few headaches.
I am part of the problem.. one of my old sql queries at an old job had nested tables in it, named as everything from 'thanksobama' 'blamecanada' and my favorite, 'RayIfYouDontStopWhistelingIWillKillYou' multi billion dollar 3pl this is the efficiency report, my manager knew what i did too just didnt care.
47
u/[deleted] Feb 03 '22
Is this code a hardcoded string as a variable??? Oh my god it gets worse...
82
u/Heinrich_v_Schimmer Feb 03 '22
fakehistoryporn: before appropriate programs were invented, obfuscations had do be done by hand.
169
u/willdone Feb 03 '22
What the actual fuck
2
u/Legendary-69420 Feb 03 '22
Where the fuck is the code highlighting? I can't read a code without it.
2
u/Furry_69 Feb 03 '22
What is this syntax highlighting, or rather, lack thereof?
81
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Feb 03 '22
Image Transcription: Code
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
24
u/the_other_Scaevitas Feb 03 '22
I think the worse part is the color…
15
u/SamelCamel Feb 03 '22
and here i was thinking my classmate naming all his variables a, b, c, x, y, etc was bad
10
u/Anonymous_Bozo Feb 03 '22
All variables need to be named properly. "I will name him George, and I will hug him, and pet him, and squeeze him "
10
u/RichCorinthian Feb 03 '22
joe_mama is defined as an empty array which is ironic because joe_mama is never empty in real life GOTTEEEEEM
8
u/AlwaysNinjaBusiness Feb 03 '22
This was written by a scandinavian person, because jag älskar pannkakor.
5
u/WorriedEngineer22 Feb 03 '22 edited Feb 03 '22
This, this is what we are gonna use to defend us from the IA once their revolution starts
8
u/Gustafssonz Feb 03 '22
Jag löve Pannkakor
4
u/[deleted] Feb 03 '22
Sverige!
1
u/TheRealBrockLesnar Feb 05 '22
damn this is some dogshit code even if you renamed all the variables
6
u/MidiOwl Feb 03 '22
Pancakes
3
u/Yoduh99 Feb 03 '22
this is great. all my array index variables going forward will be named variations of jeff or greg
3
u/lilkitkat1 Feb 03 '22
PANNKAKOR!
3
u/EquivalentDetective Feb 06 '22
Pancakes.
2
u/[deleted] Feb 03 '22
please god help
1
u/McKapucna Feb 03 '22
I just do "console.log(yepcock.append(yourmom[69]))" if i ever dont want to get a reply on stack overflow.
1
u/user_greg Feb 04 '22
I'd say that pleasegodhelp is an appropriate variable name for this piece of code.
1
u/Doppelbockk Feb 04 '22
I feel like I should try this just to see if anyone calls me out in a code review.
1
u/kristallnachte Feb 04 '22
too scared someone will steal the code.
Obfuscation
1
u/TMWFYM Feb 04 '22
I am part of the problem.. one of my old sql queries at an old job had nested tables in it, named as everything from 'thanksobama' 'blamecanada' and my favorite, 'RayIfYouDontStopWhistelingIWillKillYou' multi billion dollar 3pl this is the efficiency report, my manager knew what i did too just didnt care.
1
u/Top_Swimming_744 Feb 15 '22
Me today
1
u/Brelee2222 Feb 21 '22
as programmers like to say, wtf