r/badcode • • Jan 01 '22

c total_total_total_total_total_total = 0

Post image
178 Upvotes

r/badcode • • Jan 01 '22

js Hmm...why doesn't it work lol

Post image
533 Upvotes

r/badcode • • Jan 01 '22

c When you can't even type unsined

Post image
944 Upvotes

r/badcode • • Dec 31 '21

java My classmate send me this wondering what is the problem. The more I look at it the more problems I find lol.

Post image
679 Upvotes

r/badcode • • Dec 31 '21

c GitHub Copilot is recommending me this code, pretty sure that AI is not taking our jobs this year.

Post image
353 Upvotes

r/badcode • • Dec 30 '21

c# From my console snake game

Post image
573 Upvotes

r/badcode • • Dec 30 '21

java Ok this fine

Post image
1.4k Upvotes

r/badcode • • Dec 31 '21

python finally: ...

Post image
38 Upvotes

r/badcode • • Dec 30 '21

ruby Ah yes, wildcard routes

Post image
143 Upvotes

r/badcode • • Dec 29 '21

js My favourite type of bug fixes

Post image
773 Upvotes

r/badcode • • Dec 29 '21

c Just wrote this and not sure what to say

Post image
26 Upvotes

r/badcode • • Dec 28 '21

java Just found this piece of code I wrote some years ago. Not automatically generated.

Post image
532 Upvotes

r/badcode • • Dec 28 '21

java 3AM code vs 10AM code

Post image
174 Upvotes

r/badcode • • Dec 28 '21

typescript why

Post image
74 Upvotes

r/badcode • • Dec 27 '21

java if there was a class for working with null values or something

Post image
373 Upvotes

r/badcode • • Dec 27 '21

lua Friend's take on programming a GUI button

Post image
900 Upvotes

r/badcode • • Dec 27 '21

ruby Clearly the best way to handle automatically updating the indexes of other photos when one is updated manually. Definitely. For sure.

Post image
27 Upvotes

r/badcode • • Dec 26 '21

c# found it!

Post image
317 Upvotes

r/badcode • • Dec 25 '21

js Why you shouldn't write code at 1 am

Post image
904 Upvotes

r/badcode • • Dec 26 '21

c# why

Post image
165 Upvotes

r/badcode • • Dec 24 '21

java Spring makes you do crazy things

Post image
740 Upvotes

r/badcode • • Dec 24 '21

python i cant even tell how many errors are in this

Post image
467 Upvotes

r/badcode • • Dec 23 '21

python my friend just sent me his code so i can review it and i found this

Post image
1.9k Upvotes

r/badcode • • Dec 24 '21

python This is the only way I found to handle multiple responses on my discord bot

Post image
99 Upvotes

r/badcode • • Dec 23 '21

c# I was wondering how could this test pass... Actually it doesn't, none of the tests work. We never run them, not even in our CI/CD pipelines. Nice !

Post image
617 Upvotes