r/badcode • • May 27 '21

html Got my first job and found this on my first code review for the project

Post image
2.0k Upvotes

r/badcode • • Jan 07 '21

c# i = 0; foreach (element in array) {doStuff(array[i]; i++;}

Post image
2.0k Upvotes

r/badcode • • Sep 28 '21

meta Suggestion for the community, apologies if this is not welcome.

Post image
2.0k Upvotes

r/badcode • • Dec 27 '20

c++ Friend asked me why every grade is an Invalid Grade

Post image
2.0k Upvotes

r/badcode • • Feb 01 '21

python Apparently I wrote this 3 years ago but can't remember it

Post image
2.0k Upvotes

r/badcode • • May 23 '20

c# I stole this beauty from Sam Hogan’s latest video

Post image
1.9k Upvotes

r/badcode • • Aug 04 '20

java If not really, return zero

Post image
1.9k Upvotes

r/badcode • • Dec 23 '21

python my friend just sent me his code so i can review it and i found this

Post image
1.9k Upvotes

r/badcode • • Apr 14 '21

python Helping a friend learn python. He was really proud of this one.

Post image
1.9k Upvotes

r/badcode • • Jun 16 '20

python Found some from when i was 6.

Post image
1.9k Upvotes

r/badcode • • Mar 19 '21

c aah yes... rand() goes brrrrr

Post image
1.9k Upvotes

r/badcode • • Mar 12 '21

c# How NOT to use switch statement

Post image
1.8k Upvotes

r/badcode • • Aug 24 '20

js Found this beauty in production today

Post image
1.8k Upvotes

r/badcode • • May 22 '21

python From a blackjack game I gave up on

Thumbnail
gallery
1.8k Upvotes

r/badcode • • May 02 '19

java My teach Kees getting mad that I never properly format my code or name my variables so I just submitted this

Post image
1.8k Upvotes

r/badcode • • Dec 27 '22

js This just sucks.

Post image
1.8k Upvotes

r/badcode • • Jun 29 '20

python The universal getter.

Post image
1.8k Upvotes

r/badcode • • Apr 29 '21

js throw is the new let

Post image
1.7k Upvotes

r/badcode • • Nov 12 '20

js If only we had a way to tell what year we're at...

Post image
1.7k Upvotes

r/badcode • • Mar 18 '21

python The more I look at this, the more confused I get

Post image
1.7k Upvotes

r/badcode • • Jun 20 '21

python Kid in my class for their GCSE Computer Science coursework project. Yes, he actually submitted this. Teacher gave up helping him.

Post image
1.7k Upvotes

r/badcode • • Mar 27 '21

java I told him to just use %

Post image
1.7k Upvotes

r/badcode • • Nov 06 '20

c++ Guys help, I think my teacher is broken.

Post image
1.7k Upvotes

r/badcode • • Mar 12 '21

python When you have no idea how to get index in Python

Post image
1.7k Upvotes