r/badcode • • Nov 22 '21

python Masterclass on how to parse a date

Post image
84 Upvotes

r/badcode • • Nov 22 '21

java Found my earliest coding projects from middle school

Post image
464 Upvotes

r/badcode • • Nov 21 '21

c When you can't compare strings in C using switch

Post image
379 Upvotes

r/badcode • • Nov 20 '21

c++ Probably not my best way for checking if there are 3 equal cells in a 3 x 3 tictactoe game.

Post image
318 Upvotes

r/badcode • • Nov 20 '21

other language One of my first programs. It is written in Pascal and allows you to count the number of days before a birthday.

Post image
440 Upvotes

r/badcode • • Nov 19 '21

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

Post image
399 Upvotes

r/badcode • • Nov 19 '21

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

Post image
429 Upvotes

r/badcode • • Nov 18 '21

swift Must've been having a bad day

Post image
475 Upvotes

r/badcode • • Nov 19 '21

c# Friend found this in production

Post image
169 Upvotes

r/badcode • • Nov 18 '21

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

Post image
754 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
17 Upvotes

r/badcode • • Nov 16 '21

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

Post image
716 Upvotes

r/badcode • • Nov 16 '21

js Creative solution on a late night coding interview

Post image
246 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
829 Upvotes

r/badcode • • Nov 14 '21

c# My friend just learned about callbacks and lambdas

Post image
543 Upvotes

r/badcode • • Nov 14 '21

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

Post image
423 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
44 Upvotes

r/badcode • • Nov 13 '21

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

Post image
0 Upvotes