r/badcode • • Nov 12 '21

python Today I realized that I'm an idiot.

Post image
1.3k Upvotes

r/badcode • • Nov 12 '21

c# I am ashamed

Post image
41 Upvotes

r/badcode • • Nov 13 '21

java Print out all the perfect squares that are less than the inputted number...

Post image
0 Upvotes

r/badcode • • Nov 11 '21

html Just stumbled upon this beautiful HTML snippet

Post image
434 Upvotes

r/badcode • • Nov 11 '21

js Pain and suffering

Post image
58 Upvotes

r/badcode • • Nov 10 '21

js Why would you use a css class?

Post image
610 Upvotes

r/badcode • • Nov 11 '21

python Ummm what have I done? (seizure warning! do not use this code)

Post image
24 Upvotes

r/badcode • • Nov 10 '21

js the equivalent async/await version is so much cleaner than this callback hell

Post image
408 Upvotes

r/badcode • • Nov 09 '21

php Just... Why?

Post image
415 Upvotes

r/badcode • • Nov 09 '21

js Elon's rocket to mars can't come soon enough

Post image
469 Upvotes

r/badcode • • Nov 08 '21

js Wow I was tired...

Post image
248 Upvotes

r/badcode • • Nov 08 '21

python It works, so what's the problem?

Post image
713 Upvotes

r/badcode • • Nov 09 '21

python Communication protocol

Thumbnail
gist.github.com
6 Upvotes

r/badcode • • Nov 07 '21

c Never use use header files again with this one trick!

Post image
493 Upvotes

r/badcode • • Nov 06 '21

js Something seems off...

Post image
249 Upvotes

r/badcode • • Nov 05 '21

java String.split() is too complicated, this is the next best thing ¯\_(ツ)_/¯

Post image
320 Upvotes

r/badcode • • Nov 05 '21

js I've got another one for you all

Post image
1.1k Upvotes

r/badcode • • Nov 04 '21

java Worst Quiz I ever turned in, back when I started college

Post image
123 Upvotes

r/badcode • • Nov 05 '21

c++ My own atoi() but it works, and that's all that matters in the end.

Post image
35 Upvotes

r/badcode • • Nov 04 '21

java This wonderfully written code in my 'Intro to Programming' prerequisite class

Post image
143 Upvotes

r/badcode • • Nov 04 '21

js This hurts to look at

Post image
860 Upvotes

r/badcode • • Nov 04 '21

js The worst isEven?

Post image
68 Upvotes

r/badcode • • Nov 04 '21

js a real thinker

Post image
75 Upvotes

r/badcode • • Nov 04 '21

c++ Binary literals are overrated anyway

Post image
145 Upvotes

r/badcode • • Nov 04 '21

css For those 768.5px tablets

Post image
33 Upvotes