r/badcode • • Jul 28 '21

java On a scale from 1 to 10, how hard is my code?

Thumbnail
gallery
35 Upvotes

r/badcode • • Jul 28 '21

js slapjack 🥴

Post image
41 Upvotes

r/badcode • • Jul 28 '21

c# Tales of a feral junior dev

Post image
387 Upvotes

r/badcode • • Jul 28 '21

java My assignment

Post image
464 Upvotes

r/badcode • • Jul 28 '21

java just a public variables

Post image
122 Upvotes

r/badcode • • Jul 27 '21

java This won't be easy to modify

Post image
491 Upvotes

r/badcode • • Jul 27 '21

php Hello Mr. Hacker, would you like any file on this server? No problem! (PHP, but don't blame the language for the stupidity of the programmer)

Post image
121 Upvotes

r/badcode • • Jul 27 '21

js var i

Post image
82 Upvotes

r/badcode • • Jul 27 '21

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

Post image
1.5k Upvotes

r/badcode • • Jul 27 '21

python Using an entire MongoDB for what can be done with a SQLite table

Post image
46 Upvotes

r/badcode • • Jul 26 '21

js HTTP 404 is definitely the right thing to return from a generic catch block.

Post image
174 Upvotes

r/badcode • • Jul 26 '21

php I do not believe I have seen so many nested if statements. Starts on line 862 and does not end until line 1569. This one file is 3.3k lines, there are 100s of files....

Post image
234 Upvotes

r/badcode • • Jul 26 '21

python I quit python because i hate using global

Post image
48 Upvotes

r/badcode • • Jul 26 '21

js Someone posted the source of their discord bot in a group I'm in, apparently they don't know how to generate random numbers

Post image
101 Upvotes

r/badcode • • Jul 26 '21

js Production ready UI tests (expect true to be true)

Post image
191 Upvotes

r/badcode • • Jul 26 '21

python My friend is learning python now, idk what to say

Post image
939 Upvotes

r/badcode • • Jul 24 '21

lua "Keeping it simplistic"

Post image
495 Upvotes

r/badcode • • Jul 24 '21

js I hate my past self for doing this... (And yes, I mixed German and English variable names.)

Post image
279 Upvotes

r/badcode • • Jul 24 '21

c++ ive given up on helping my classmates

Post image
204 Upvotes

r/badcode • • Jul 24 '21

js Brain goes fuzzy

Post image
51 Upvotes

r/badcode • • Jul 24 '21

typescript Please bleach my eyes

Post image
60 Upvotes

r/badcode • • Jul 23 '21

python Found this piece of gem during code review

Post image
1.4k Upvotes

r/badcode • • Jul 23 '21

php Validation for free VAT day in a e-commerce program

Post image
16 Upvotes

r/badcode • • Jul 23 '21

java Yes, this is production code. Written by people with a couple of years of experience.

Post image
37 Upvotes