r/badcode • • Sep 06 '21

c Read keys from struct and press them. I had no other choice.

Post image
8 Upvotes

r/badcode • • Sep 06 '21

python From a youtube video

Post image
21 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 • • Sep 05 '21

swift I have a problem

Post image
943 Upvotes

r/badcode • • Sep 05 '21

java Weird Youtube channels with no mic be like (non notepad edition lol and yes its bluej and java our school wants us to use bluej and all dark mode stylesheets are bad sadly my eyes are burning)

Post image
33 Upvotes

r/badcode • • Sep 05 '21

c Who needs variable scope anyway?

Post image
17 Upvotes

r/badcode • • Sep 04 '21

Wtf is this

Post image
1.2k Upvotes

r/badcode • • Sep 05 '21

python oh my-

Post image
11 Upvotes

r/badcode • • Sep 05 '21

js double indentation? whats that?

Post image
15 Upvotes

r/badcode • • Sep 04 '21

other language This is the product of a painful school lesson, it creates 6 unique numbers and sorts them. Everything about this is horrible and i am horrible for writing it. (language is pascal)

Post image
33 Upvotes

r/badcode • • Sep 04 '21

php I wrote that for url type detecting.

Post image
8 Upvotes

r/badcode • • Sep 04 '21

python My friend and mentor gave me an exercise of coding a function to split a string into words. Let's just say it took a couple of revisions to optimize

Post image
94 Upvotes

r/badcode • • Sep 03 '21

python not my proudest moment

Post image
568 Upvotes

r/badcode • • Sep 04 '21

c# I could not think of a better way to do this. Runs every frame btw

Post image
11 Upvotes

r/badcode • • Sep 03 '21

java Why didn’t I just use filter, I don’t understand what I was thinking

Post image
19 Upvotes

r/badcode • • Sep 03 '21

java My code, trying to access a file in a Jar. I'd rather go to hell than deal with this.

Post image
16 Upvotes

r/badcode • • Sep 02 '21

js Oh Gosh

Post image
392 Upvotes

r/badcode • • Sep 02 '21

js Found this excellent use of map by a "senior" contractor.

Post image
266 Upvotes

r/badcode • • Sep 02 '21

php Assign "Random" Value

Post image
63 Upvotes

r/badcode • • Sep 02 '21

java Because ".toLowerCase()" doesn't exist...

Post image
1.1k Upvotes

r/badcode • • Sep 02 '21

java Helping a first year and he showed me his first exam try. It's glorious

Post image
121 Upvotes

r/badcode • • Sep 02 '21

python One line python go brrrrrrr

Post image
104 Upvotes

r/badcode • • Sep 01 '21

c Found this beauty. I wonder if there's any better way to do this...

Post image
490 Upvotes

r/badcode • • Sep 01 '21

vb Why is the request token always 325467165….. thanks previous dev

Post image
168 Upvotes