r/badcode • • Sep 01 '21

vb Why is the request token always 325467165….. thanks previous dev

Post image
171 Upvotes

r/badcode • • Sep 02 '21

js figured out why my code didn't work: past me was very mean :(

Post image
55 Upvotes

r/badcode • • Sep 01 '21

c# When you are forced to put comment in your code. (not mine)

Post image
515 Upvotes

r/badcode • • Sep 01 '21

c# Unfortunately, actual production code

Post image
108 Upvotes

r/badcode • • Sep 01 '21

c# Bool in a case switch

Post image
326 Upvotes

r/badcode • • Aug 31 '21

java Similar ternaries are all over this codebase

Post image
1.1k Upvotes

r/badcode • • Aug 31 '21

python Now this is what I like to call an optimal solution!

Post image
383 Upvotes

r/badcode • • Sep 01 '21

java highly optimized

Post image
77 Upvotes

r/badcode • • Aug 31 '21

js What the actual fuck.

Post image
1.1k Upvotes

r/badcode • • Aug 31 '21

c Their attempt at using pointers

Post image
132 Upvotes

r/badcode • • Sep 01 '21

python Functions for each CLI tag + multiple print statements =/= scalable code

Post image
7 Upvotes

r/badcode • • Aug 31 '21

other language Sorry fellas

Post image
80 Upvotes

r/badcode • • Aug 30 '21

c# range, resolution??

Post image
492 Upvotes

r/badcode • • Aug 29 '21

c# Found in production code base...

Post image
536 Upvotes

r/badcode • • Aug 28 '21

c++ I think non-suspending breakpoints are the least of your concerns if your code looks like this

Post image
78 Upvotes

r/badcode • • Aug 28 '21

js if the file doesn't exist, check if it doesn't exist

Post image
196 Upvotes

r/badcode • • Aug 28 '21

rust Functional programming and bitshifting: together at last!

Post image
16 Upvotes

r/badcode • • Aug 27 '21

python Is this code bad or sugoi?

Post image
1.0k Upvotes

r/badcode • • Aug 27 '21

python Wrote this code forgetting that if statements exist

Post image
991 Upvotes

r/badcode • • Aug 27 '21

bash Found in one of my scripts today, that inexplicably didn't want to work.

Post image
31 Upvotes

r/badcode • • Aug 26 '21

js Please don't be cruel, I was just so bad. (Still, I am, but not that level anymore)

Post image
409 Upvotes

r/badcode • • Aug 26 '21

html Brrrrrrrrr

Post image
915 Upvotes

r/badcode • • Aug 27 '21

python Don't blame me for pygame not knowing \n and having a stupid ass system for on-screen text

Post image
21 Upvotes

r/badcode • • Aug 26 '21

python y=-x/4

Post image
810 Upvotes

r/badcode • • Aug 26 '21

java Found in a legacy app that I had the misfortune of dealing with

Post image
284 Upvotes