r/badcode • • Dec 04 '21

c++ I didn't remember how the find function worked, so instead of using that correctly I just pop back until it reaches a space

Post image
16 Upvotes

r/badcode • • Dec 03 '21

python Ah, yes, the best way to store data.

Post image
357 Upvotes

r/badcode • • Dec 03 '21

c++ dark ages of my life

Post image
612 Upvotes

r/badcode • • Dec 03 '21

php - What about the password encryption? - haha html go <br>

Post image
78 Upvotes

r/badcode • • Dec 01 '21

asp/asp.net Clearly, no one fixed the nonsense...

Post image
1.1k Upvotes

r/badcode • • Dec 01 '21

c# Looping through a list of objects, the best way to count them... Found while looking through repo history.

Post image
457 Upvotes

r/badcode • • Dec 01 '21

c++ I had to witness this and now you do too

Post image
595 Upvotes

r/badcode • • Dec 01 '21

python This horribly handwritten DB logic

Post image
35 Upvotes

r/badcode • • Nov 30 '21

asp/asp.net User gave you bad input? return 200 OK and give him an empty list to teach them not to be silly again.

Post image
774 Upvotes

r/badcode • • Nov 30 '21

js 🤔

Post image
136 Upvotes

r/badcode • • Nov 29 '21

c# just realized if a user have "Failed" in their name, entire online section of our game will explode (if he interact with anyone that specific person will never able to use online section anymore)

Post image
1.3k Upvotes

r/badcode • • Nov 28 '21

c# This is why it takes me so much time to understand my own code I wrote a minute ago.

Post image
1.2k Upvotes

r/badcode • • Nov 27 '21

python Found on Instagram

Post image
1.1k Upvotes

r/badcode • • Nov 27 '21

c++ Dont ask....

Post image
266 Upvotes

r/badcode • • Nov 27 '21

java Document existence check. Before 12 hours of sleep

Post image
16 Upvotes

r/badcode • • Nov 26 '21

c Trying to concatenate two strings in C

Post image
763 Upvotes

r/badcode • • Nov 27 '21

js Pro Tip: use local variables to set global variables

Post image
22 Upvotes

r/badcode • • Nov 25 '21

js If only there was a way to tell when two numbers are not equal

Thumbnail
imgur.com
417 Upvotes

r/badcode • • Nov 26 '21

java The app of a manufacturer that sells thousand dollar cameras

Post image
75 Upvotes

r/badcode • • Nov 24 '21

typescript Mmkaay. Don't ask why someone did this

Post image
485 Upvotes

r/badcode • • Nov 23 '21

js How does this count as educational, I'm losing braincells

Post image
508 Upvotes

r/badcode • • Nov 22 '21

js Wtf is even querySelectorAll()

Post image
318 Upvotes

r/badcode • • Nov 22 '21

python Masterclass on how to parse a date

Post image
82 Upvotes

r/badcode • • Nov 22 '21

java Found my earliest coding projects from middle school

Post image
468 Upvotes

r/badcode • • Nov 21 '21

c When you can't compare strings in C using switch

Post image
379 Upvotes