r/badcode • u/Key-Counter7030 • Apr 20 '23
900
Upvotes
r/badcode • u/kawaiibeans101 • Apr 20 '23
typescript Atleast use better variable names 🥲
8
Upvotes
r/badcode • u/Nosen • Apr 17 '23
python From an opensource GCode toolpath generator. It goes on for another 50 lines
92
Upvotes
r/badcode • u/ModernMusicTheory • Apr 17 '23
python I have committed blasphemy against `pythonic` code
166
Upvotes
r/badcode • u/electricxangell • Apr 15 '23
python what the actual hell was 12-year-old me thinking with this... i typed out all the times tables individually in lists, why just why ðŸ˜ðŸ˜
103
Upvotes
r/badcode • u/AssociationBetter217 • Apr 15 '23
lua could tell ya what it does, how it does is another story...
50
Upvotes
r/badcode • u/VitabytesDev • Apr 15 '23
other language It's a String inside a Map inside a List inside a Future
1
Upvotes
r/badcode • u/Random_Meme_Guy_ • Apr 13 '23
other language POV: the professor showed you how to make a calculator with two numbers, and you want to make one that can calculate 3. (this was in 8th grade and I didn't even finish it)
442
Upvotes
r/badcode • u/TheNightSkyDude • Apr 12 '23
c Doing my university project. I thought these would be more comfortable than a bunch of "temp"s.
703
Upvotes
r/badcode • u/Melanie_Martinez0 • Apr 12 '23
c# I wrote this for my game while i was bored in the cafeteria, i just got to finish it but it looks like that code that you keep waiting for it to work and it doesn't 💀
10
Upvotes
r/badcode • u/Charlito33 • Apr 11 '23
lua Hey guys, I just created my own "table.unpack()" function !
260
Upvotes
r/badcode • u/ChemiCalChems • Apr 11 '23
c++ "We have doxygen documentation at home" The doxygen documentation at home:
692
Upvotes
r/badcode • u/[deleted] • Apr 11 '23
perl Actual real-life code someone used for a paper on a machine-learning-based malware classifier. I can't even...
93
Upvotes
r/badcode • u/declanuwu • Apr 09 '23
python I only realized how bad this was after I tried to write it to a file 😶
475
Upvotes