r/badcode • • Dec 15 '20

c# Thing randomly disables? Just enable it again!

Post image
1.7k Upvotes

r/badcode • • Mar 23 '21

python How to convert video on python without ffmpeg. I know just the thing...

Post image
1.7k Upvotes

r/badcode • • Jul 07 '21

c# Position

Post image
1.7k Upvotes

r/badcode • • Jul 22 '21

js Destined for greatness.

Post image
1.6k Upvotes

r/badcode • • Jul 28 '20

swift Found this a project I had taken over

Post image
1.6k Upvotes

r/badcode • • Feb 23 '21

c++ Saw this while helping a guy at Arduino server

Post image
1.6k Upvotes

r/badcode • • Jun 09 '20

c++ EA published their Command&Conquer Code on github. This is my favorite part so far.

Post image
1.6k Upvotes

r/badcode • • Mar 17 '22

js From a school exam where you needed to return the game score based on the number of wins and ties, this guy just looked at the automatic test cases and returned their expected result

Post image
1.6k Upvotes

r/badcode • • May 16 '19

java Most useful helper function ever made

Post image
1.6k Upvotes

r/badcode • • Mar 10 '21

c++ My beautiful function for getting rid of punctuation from a string from my data structures class. I probably was so proud of this when I wrote it too.

Post image
1.6k Upvotes

r/badcode • • Feb 04 '21

java Saw this one while editing Minecraft Classic's code

Post image
1.6k Upvotes

r/badcode • • Dec 20 '20

js I just committed this and I am not proud of it...

Post image
1.6k Upvotes

r/badcode • • Feb 09 '21

c Was in Live share and i found this golden code

Post image
1.5k Upvotes

r/badcode • • Oct 02 '21

python One of my classmates was confused on an assignment

Post image
1.5k Upvotes

r/badcode • • Jul 07 '21

python regex: keep it simple, stupid

Post image
1.5k Upvotes

r/badcode • • Mar 06 '21

java Does this count? At w3schools, a method's either static or public

Post image
1.5k Upvotes

r/badcode • • May 21 '21

js ah yes, fetching before verifying

Post image
1.5k Upvotes

r/badcode • • Jul 16 '21

java In Java, Exception handling needs Exception Handling.

Post image
1.5k Upvotes

r/badcode • • Sep 27 '21

java The most horrible piece of Java I've ever seen

Post image
1.5k Upvotes

r/badcode • • Sep 05 '21

python Found this in the code where I tried out python for the first time (I did know other languages then)

Post image
1.5k Upvotes

r/badcode • • May 08 '21

other language Our local Compsi student association organised a badcode contest : Find if word exist in sentense. Here is my way to do it, using Scratch.

Post image
1.5k Upvotes

r/badcode • • Jul 18 '21

c# Who knew ranking player scores was so hard?

Post image
1.5k Upvotes

r/badcode • • Jul 27 '21

php I have written some sketchy code in the past...

Post image
1.5k Upvotes

r/badcode • • Apr 09 '20

java simple calculator

Post image
1.5k Upvotes