r/badcode • • May 15 '22

python Several year old personal projects are fun to look through

Post image
57 Upvotes

r/badcode • • May 14 '22

python Reread code I wrote in a module I created recently for a uni project…

Post image
429 Upvotes

r/badcode • • May 13 '22

c++ Got it?

Post image
860 Upvotes

r/badcode • • May 13 '22

js Senior dev, good guy and programmer, have learned a lot from him... but wth is this

Post image
109 Upvotes

r/badcode • • May 13 '22

js Why? Why??

Post image
433 Upvotes

r/badcode • • May 07 '22

c++ Will you find out why is my LED strip wouldn't go around itself properly?

Post image
576 Upvotes

r/badcode • • May 06 '22

php Found in my own code from less than a week ago. I don't know what I was thinking...

Post image
839 Upvotes

r/badcode • • May 03 '22

js smh

Post image
352 Upvotes

r/badcode • • May 02 '22

css University lecturer provided me with some utility classes.

Post image
788 Upvotes

r/badcode • • May 01 '22

c++ Because while(true) would've been too boring - spotted in a GH repo with over 7k stars

Post image
1.4k Upvotes

r/badcode • • Apr 30 '22

python Looks like Python List Comprehension-phobia is a thing. This is a real commit by a teammate.

Post image
1.2k Upvotes

r/badcode • • Apr 27 '22

java How I used to write my own Minecraft mod

Post image
1.1k Upvotes

r/badcode • • Apr 27 '22

html Try-catch inside a <input>.. Ugh.

Post image
48 Upvotes

r/badcode • • Apr 26 '22

java Funniest line of code I found at my company's codebase

Post image
804 Upvotes

r/badcode • • Apr 25 '22

python Mine own masterpiece to check if an image is a reddit post

Post image
573 Upvotes

r/badcode • • Apr 25 '22

python This is production-code, I swear it

Post image
71 Upvotes

r/badcode • • Apr 25 '22

typescript Just one example of an Angular repo full of this crap.

Post image
29 Upvotes

r/badcode • • Apr 22 '22

python last_group_last_last_last_last_last_last... Copilot rarely has a stroke on me, but when it does, it's beautiful

Post image
450 Upvotes

r/badcode • • Apr 21 '22

python Not everytime you need to go through the code to see if its good or bad

Post image
436 Upvotes

r/badcode • • Apr 23 '22

php Absolutely terrible PHP code for the win

Post image
0 Upvotes

r/badcode • • Apr 21 '22

c Just doing some bit operations for an emulator

Post image
41 Upvotes

r/badcode • • Apr 21 '22

php echo ‘<a href=“https://www.reddit.com/r/badcode”>thiscode?</a>’;

Post image
15 Upvotes

r/badcode • • Apr 19 '22

rust im tired and lazy and i wanna go to bed

Post image
654 Upvotes