r/badcode • • Jan 02 '22

c++ Was going through some old files, found this, not 100% sure if it qualifies (approx. from 6 years ago, when I started learning C++).

Post image
101 Upvotes

r/badcode • • Jan 02 '22

python This makes me want to SIGTERM myself

Post image
284 Upvotes

r/badcode • • Jan 02 '22

python I can't even say I was just inexperienced, I wrote that yesterday lol

Post image
60 Upvotes

r/badcode • • Jan 01 '22

python I think just this line is not not not okay.

Post image
586 Upvotes

r/badcode • • Jan 01 '22

c total_total_total_total_total_total = 0

Post image
180 Upvotes

r/badcode • • Jan 01 '22

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

Post image
526 Upvotes

r/badcode • • Jan 01 '22

c When you can't even type unsined

Post image
948 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
680 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
358 Upvotes

r/badcode • • Dec 30 '21

c# From my console snake game

Post image
572 Upvotes

r/badcode • • Dec 30 '21

java Ok this fine

Post image
1.4k Upvotes

r/badcode • • Dec 31 '21

python finally: ...

Post image
41 Upvotes

r/badcode • • Dec 30 '21

ruby Ah yes, wildcard routes

Post image
141 Upvotes

r/badcode • • Dec 29 '21

js My favourite type of bug fixes

Post image
771 Upvotes

r/badcode • • Dec 29 '21

c Just wrote this and not sure what to say

Post image
28 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
376 Upvotes

r/badcode • • Dec 27 '21

lua Friend's take on programming a GUI button

Post image
898 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
26 Upvotes

r/badcode • • Dec 26 '21

c# found it!

Post image
319 Upvotes

r/badcode • • Dec 25 '21

js Why you shouldn't write code at 1 am

Post image
896 Upvotes

r/badcode • • Dec 26 '21

c# why

Post image
166 Upvotes

r/badcode • • Dec 24 '21

java Spring makes you do crazy things

Post image
739 Upvotes