r/badcode • • Oct 13 '21

c++ i tutor for a guy who's a year below me in data structures. this was a function from his last project to calculate a student's GPA.

Post image
9 Upvotes

r/badcode • • Apr 15 '23

other language It's a String inside a Map inside a List inside a Future

Post image
4 Upvotes

r/badcode • • Sep 17 '19

js Discord.js is op

Post image
5 Upvotes

r/badcode • • Apr 23 '22

php Absolutely terrible PHP code for the win

Post image
0 Upvotes

r/badcode • • Jun 26 '20

js One Of The Most Disgusting and Most Confusing Pieces of Code I have EVER Written. I'm Gagging At This Point

Post image
0 Upvotes

r/badcode • • Mar 23 '15

other language An actual Makefile I'm using on a project right now

Thumbnail
gist.github.com
0 Upvotes

r/badcode • • Nov 18 '20

php Intentionally Bad Code to show how Syntax errors worked

Post image
1 Upvotes

r/badcode • • Aug 24 '18

java Found this bad boy in one of Microsoft's gh repos - https://github.com/Microsoft/Git-Credential-Manager-for-Mac-and-Linux

Post image
3 Upvotes

r/badcode • • Sep 23 '14

ruby Another random gist: calculator.rb

Thumbnail
gist.github.com
4 Upvotes

r/badcode • • Dec 08 '21

c# Why would you ever do that though?

Post image
29 Upvotes

r/badcode • • Mar 20 '20

html hajgidghjb

Post image
0 Upvotes

r/badcode • • Nov 14 '14

objective c Just let this one sink in for a minute...

Thumbnail mysticpaste.com
4 Upvotes

r/badcode • • Jan 23 '20

c# Junior dev on first week delivered this

Thumbnail
gist.github.com
11 Upvotes

r/badcode • • Jun 19 '21

typescript Check if binary tree is balanced...

Post image
221 Upvotes

r/badcode • • Sep 26 '19

java I present to you my HS computer science teacher's quality Java

Post image
267 Upvotes

r/badcode • • Jan 07 '20

c Over 1k lines of code written in one go, compiled and like 95% of it worked first time. Go me?

Post image
1 Upvotes

r/badcode • • Dec 31 '16

java Google, you have got to be kidding me (Google Guava library)

Thumbnail
imgur.com
0 Upvotes

r/badcode • • May 20 '23

c extremely bloated secure password generator

Post image
3 Upvotes

r/badcode • • Nov 10 '14

php How to make a table (my brother is learning to code)

Thumbnail
imgur.com
16 Upvotes

r/badcode • • Aug 10 '20

c++ Found this masterpiece

Post image
208 Upvotes

r/badcode • • Mar 31 '23

c++ TF DID I DO YESTERDAY EVENING

Post image
45 Upvotes

r/badcode • • Feb 01 '23

html I went on a website, and this is what I see in the Source Code...

Post image
173 Upvotes

r/badcode • • Oct 19 '16

js /pol/'s mass voting script

Post image
4 Upvotes

r/badcode • • Mar 04 '19

js Why use a 1 word function when you can use a 4 word function?

Post image
25 Upvotes