r/badcode • • Apr 21 '23

other language We did coding in physics class...

Post image
1.5k Upvotes

r/badcode • • Jul 14 '20

c++ Teaching my little brother c++. I told him to declare the function as "bool"

Post image
1.5k Upvotes

r/badcode • • Dec 31 '20

java This popped into my Facebook feed, and idk what to think of it

Post image
1.4k Upvotes

r/badcode • • May 03 '21

python step 1: write an unefficient code step 2: explode

Post image
1.4k Upvotes

r/badcode • • Dec 07 '20

python How to check if a number is odd or even

Post image
1.4k Upvotes

r/badcode • • Feb 12 '21

js Reviewing some old company code and I found this (sorry for bad quality)

Post image
1.4k Upvotes

r/badcode • • Jun 25 '21

java A Python programmer's attempt at Java

Post image
1.4k Upvotes

r/badcode • • Mar 16 '21

java Ahh yes. Debugging is overrated

Post image
1.4k Upvotes

r/badcode • • Jul 23 '21

python Found this piece of gem during code review

Post image
1.4k Upvotes

r/badcode • • Jun 21 '21

typescript The mighty Logicbender

Post image
1.4k Upvotes

r/badcode • • Jun 15 '21

kotlin The work of a genius

Post image
1.4k Upvotes

r/badcode • • Dec 24 '20

c++ My friend ( a student) asked me for help

Post image
1.4k 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 • • Oct 13 '20

php Complexity go brrrrrrrrrrrrrr NSFW

Post image
1.4k Upvotes

r/badcode • • Dec 30 '21

java Ok this fine

Post image
1.4k Upvotes

r/badcode • • Oct 25 '21

python now that's a loading bar

Post image
1.4k Upvotes

r/badcode • • Oct 09 '20

c++ Friend of mine said that this was the perfect way to do it...

Post image
1.4k Upvotes

r/badcode • • Sep 20 '21

c# 60 fps

Post image
1.3k Upvotes

r/badcode • • Aug 17 '21

python When you're told to "always" close files...

Post image
1.3k Upvotes

r/badcode • • Jan 05 '23

c++ Just wrote that and was wondering why it isnt working

Post image
1.3k Upvotes

r/badcode • • Aug 24 '21

python My friend is learning to code

Post image
1.3k Upvotes

r/badcode • • Mar 14 '21

java Found from when I first started Java...because indexed Arrays were too complicated huh?

Post image
1.3k Upvotes

r/badcode • • Jun 02 '21

java forever a developing country?

Post image
1.3k Upvotes

r/badcode • • May 15 '21

js Found in a JS library

Post image
1.3k Upvotes