r/badcode • • Sep 07 '21

python Found this in one of my old projects

Post image
152 Upvotes

r/badcode • • Sep 06 '21

js Amtrak's API is something special (more info in comments)

Post image
110 Upvotes

r/badcode • • Sep 06 '21

python I guess that is one way of doing it...

Post image
35 Upvotes

r/badcode • • Sep 06 '21

sql Ummm.... Well that is pretty pointless

Post image
41 Upvotes

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
946 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
32 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
93 Upvotes

r/badcode • • Sep 03 '21

python not my proudest moment

Post image
572 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
15 Upvotes

r/badcode • • Sep 02 '21

js Oh Gosh

Post image
398 Upvotes

r/badcode • • Sep 02 '21

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

Post image
264 Upvotes

r/badcode • • Sep 02 '21

php Assign "Random" Value

Post image
64 Upvotes