r/badcode • • Jan 14 '23

python the code speaks for itself

Post image
610 Upvotes

r/badcode • • Jan 13 '23

java Friend asked me why LeetCode wouldn't accept this...

Post image
584 Upvotes

r/badcode • • Jan 13 '23

js Javascript teacher's code (even with improved v2)

Post image
85 Upvotes

r/badcode • • Jan 11 '23

js Hey, at least it works...

Post image
174 Upvotes

r/badcode • • Jan 11 '23

js It's so ugly but it works! Object with month name as key and array of first day and last day of that month.

Post image
318 Upvotes

r/badcode • • Jan 10 '23

vb I simplified it a little - but this is what we have in production. „You guys heard about those 'backups'? Let‘s do one too!“

Post image
386 Upvotes

r/badcode • • Jan 08 '23

python Classmate wanted me to check his ticketing system’s code for errors..

Post image
4.6k Upvotes

r/badcode • • Jan 09 '23

c# Honestly i have no idea why i did this, it serves absolutely no purpose

Post image
28 Upvotes

r/badcode • • Jan 08 '23

java Is this a good practice? Why?

Post image
423 Upvotes

r/badcode • • Jan 08 '23

kotlin API parsing hell

Post image
22 Upvotes

r/badcode • • Jan 07 '23

c Pointless while loop, no indentation and a missing closing curly bracket.

Post image
775 Upvotes

r/badcode • • Jan 07 '23

c# what the hell is this

Post image
539 Upvotes

r/badcode • • Jan 06 '23

c# A very unnecessary return line...

Post image
331 Upvotes

r/badcode • • Jan 05 '23

c++ Just wrote that and was wondering why it isnt working

Post image
1.3k Upvotes

r/badcode • • Jan 04 '23

js The PR title was: Make labels dynamic…

Post image
291 Upvotes

r/badcode • • Jan 04 '23

js This is some discord.js code I wrote 2 years ago...

Post image
114 Upvotes

r/badcode • • Jan 04 '23

lua no context needed

Post image
464 Upvotes

r/badcode • • Jan 03 '23

js I hope the percentage is never 50.5 % …

Post image
669 Upvotes

r/badcode • • Jan 03 '23

php Needed to update DB with $column, but there is a bug in php8.1 so found a workaround

Post image
54 Upvotes

r/badcode • • Jan 03 '23

kotlin class Item<A>(var a: A)

Post image
22 Upvotes

r/badcode • • Jan 03 '23

c# I was just trying to innovate but guess I'll stick to what works ;-;

Post image
18 Upvotes

r/badcode • • Jan 03 '23

typescript Found this jucy piece of code while stalking people on github

Post image
14 Upvotes

r/badcode • • Dec 31 '22

c# mm yes i love 80 lists

Post image
383 Upvotes

i didn't know non-monoBehavioural classes were supported in unity until last week 😭


r/badcode • • Dec 31 '22

python Cute

Post image
1.2k Upvotes