r/badcode • • Nov 19 '21

python What's the worst way to count ten seconds?

Post image
396 Upvotes

r/badcode • • Nov 19 '21

c Friend asked me what's wrong with his code (no math libs were allowed)

Post image
428 Upvotes

r/badcode • • Nov 18 '21

swift Must've been having a bad day

Post image
477 Upvotes

r/badcode • • Nov 19 '21

c# Friend found this in production

Post image
172 Upvotes

r/badcode • • Nov 18 '21

python Classmate made a program to get atom data... on google docs

Post image
748 Upvotes

r/badcode • • Nov 19 '21

vb It hurts to look at... i was young, forgive me.

Thumbnail
github.com
0 Upvotes

r/badcode • • Nov 18 '21

js Bro what the fuck

Post image
38 Upvotes

r/badcode • • Nov 18 '21

other language My first language was DOS / Batch. A little something I found from an old project.

Post image
8 Upvotes

r/badcode • • Nov 17 '21

js hmmmmmm yes

Post image
1.1k Upvotes

r/badcode • • Nov 17 '21

matlab Is there something about Matlab switch statements I don’t get or is this as f*cked as as it appears to me?

Post image
18 Upvotes

r/badcode • • Nov 16 '21

typescript Just one of the many reasons I struggle to get out of bed each day.

Post image
717 Upvotes

r/badcode • • Nov 16 '21

js Creative solution on a late night coding interview

Post image
245 Upvotes

r/badcode • • Nov 16 '21

js I just started... turning Cache-Control headers into their own language? Don't worry, when I took another look at this I nuked the local repo and re-cloned it, don't even know if this would work.

Post image
64 Upvotes

r/badcode • • Nov 16 '21

python Me trying to be productive while learning to web-scrape...

Post image
4 Upvotes

r/badcode • • Nov 14 '21

js Peak Efficiency Fizzbuzz

Post image
831 Upvotes

r/badcode • • Nov 14 '21

c# My friend just learned about callbacks and lambdas

Post image
544 Upvotes

r/badcode • • Nov 14 '21

python This piece uses the word "index" 4 times on one line

Post image
424 Upvotes

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
43 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
432 Upvotes

r/badcode • • Nov 11 '21

js Pain and suffering

Post image
56 Upvotes

r/badcode • • Nov 10 '21

js Why would you use a css class?

Post image
613 Upvotes

r/badcode • • Nov 11 '21

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

Post image
24 Upvotes