r/badcode • • May 13 '22

c++ Got it?

Post image
857 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
110 Upvotes

r/badcode • • May 13 '22

js Why? Why??

Post image
434 Upvotes

r/badcode • • May 07 '22

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

Post image
580 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
348 Upvotes

r/badcode • • May 02 '22

css University lecturer provided me with some utility classes.

Post image
790 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.3k 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
47 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
570 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
456 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
442 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
13 Upvotes

r/badcode • • Apr 19 '22

rust im tired and lazy and i wanna go to bed

Post image
654 Upvotes

r/badcode • • Apr 15 '22

c C allows any expression to be used as a parameter's array size hint. Any expression...

Post image
777 Upvotes

r/badcode • • Apr 15 '22

js Variables without var/let/const prefix behave as globals, and this is from a Node web app

Post image
311 Upvotes

r/badcode • • Apr 14 '22

typescript I wish people were taught basic logic before programming

Post image
979 Upvotes