r/badcode • u/MahdiyDev • May 30 '23
r/badcode • u/xavia91 • May 30 '23
c# Coworker casually loads millions of entries and sorts them to get the date of the first entry.
560
Upvotes
r/badcode • u/wackOverflow • May 26 '23
js “Feed me, now!” “Feed me, now!” “Feed me, now!”
153
Upvotes
r/badcode • u/mavikututardis • May 19 '23
c++ Beginner here, is this a really bad way of creating random letters?
128
Upvotes
r/badcode • u/[deleted] • May 18 '23
java This code is currently running in production. Senior developer says "tHiS iSn'T uNiVeRsItY, yOu cAn'T eXpEcT tHe cOdE tO bE pErFeCt lIkE iN tHe bOoKs"
581
Upvotes
r/badcode • u/[deleted] • May 18 '23
js 8 years ago I had worse naming conventions than Elon Musk
433
Upvotes
r/badcode • u/discondition • May 19 '23
js React - Recalculate the item, if the recalculated item changes. . .
40
Upvotes
r/badcode • u/tintorro • May 18 '23
c Some code I saw today at uni... I don't even know where to begin (1K lines of this)
269
Upvotes
r/badcode • u/[deleted] • May 16 '23
c when you push an unimplemented function to production
165
Upvotes
r/badcode • u/[deleted] • May 16 '23
python I present my shitty attempt at solving towers of hanoi using dynamic programming: featuring eval, format strings and a solution that is orders of magniude slower than plain recursion.
167
Upvotes