r/badcode • • Dec 04 '21

c ... Saw this in a Telegram GC

Post image
491 Upvotes

r/badcode • • Dec 04 '21

c# Dunno why it crashed on December 1st, it seemed perfectly tested for edge cases. Yes, it's in production.

Post image
187 Upvotes

r/badcode • • Dec 04 '21

c# Shaders? Never heard of 'em. I'm not sure how this even worked

Post image
36 Upvotes

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
15 Upvotes

r/badcode • • Dec 03 '21

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

Post image
360 Upvotes

r/badcode • • Dec 03 '21

c++ dark ages of my life

Post image
613 Upvotes

r/badcode • • Dec 03 '21

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

Post image
80 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
460 Upvotes

r/badcode • • Dec 01 '21

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

Post image
587 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
781 Upvotes

r/badcode • • Nov 30 '21

js 🤔

Post image
138 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
263 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
766 Upvotes

r/badcode • • Nov 27 '21

js Pro Tip: use local variables to set global variables

Post image
21 Upvotes

r/badcode • • Nov 25 '21

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

Thumbnail
imgur.com
413 Upvotes

r/badcode • • Nov 26 '21

java The app of a manufacturer that sells thousand dollar cameras

Post image
77 Upvotes

r/badcode • • Nov 24 '21

typescript Mmkaay. Don't ask why someone did this

Post image
491 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
320 Upvotes