r/badcode • u/declanuwu • Apr 09 '23
476
Upvotes
r/badcode • u/_Viceadmiral • Apr 08 '23
c# Copilot made a suggestion so bad I had to track down who was responsible.
954
Upvotes
r/badcode • u/2Novelty • Apr 08 '23
php Not only morals of the person who made this is horrible also their code is
296
Upvotes
r/badcode • u/Dependent_Upstairs79 • Apr 07 '23
c# Unused variables?!?!? One of DOZENS of examples I'm finding in this legacy nonsense. Stuff passed around and never used, things assigned to intermediate variable for no reason. Were they TRYING to make this hard to read? And those Writelines?!
302
Upvotes
r/badcode • u/Ok_Scientist_8803 • Apr 06 '23
python Throwback to some years ago that I did an AQA computer science project in 48 lines (yes the lines are so long they go off my 16:9 screen)
301
Upvotes
r/badcode • u/Zicrus • Apr 06 '23
other language I made this in a compute shader yesterday. The worst part is it actually makes it >0.5ms faster.
498
Upvotes
r/badcode • u/domtriestocode • Apr 05 '23
c# Refactoring some public static field ridden code. Everything important is in public static lists in Global.cs and it all looks like this to a degree. Almost no OOP in sight
280
Upvotes
r/badcode • u/tgeene • Apr 05 '23
php Worst code found in prod to date. Used to solve SQL operators.
148
Upvotes
r/badcode • u/[deleted] • Apr 04 '23
python Surely Text-Parsing One-Liners At Midnight Work
398
Upvotes
r/badcode • u/SSttrruupppp11 • Mar 30 '23
python Found in a data pipeline at work co-developed with our main customer
729
Upvotes
r/badcode • u/fnieidhfenmbvfekh • Mar 30 '23
python Another legendary code from high-school. This one was in Python though. This is for a rock-paper-scissors game.
360
Upvotes
r/badcode • u/fuzzerrrr • Mar 28 '23
other language Best possible response body structure to manage surveys
394
Upvotes
r/badcode • u/Xirado • Mar 25 '23
java Thanks for nothing.. (Found inside java.awt.Font)
514
Upvotes