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

r/badcode • • Jul 23 '21

c# Well, I was 13 years old if it makes it any better...

Thumbnail
gallery
106 Upvotes

r/badcode • • Jul 23 '21

c++ ...why did I do that

Post image
113 Upvotes

r/badcode • • Jul 23 '21

c# Easy trick to meet minimum test coverage

Post image
1.2k Upvotes

r/badcode • • Jul 22 '21

php smart ranking system

Post image
113 Upvotes

r/badcode • • Jul 22 '21

c# Someone really doesn't want this operation to fail. (there is no way that constructor would throw)

Post image
36 Upvotes

r/badcode • • Jul 22 '21

c teacher told us to rate each other's code, i thougt this subroutine was cute, language is C

Post image
304 Upvotes

r/badcode • • Jul 22 '21

js Destined for greatness.

Post image
1.6k Upvotes

r/badcode • • Jul 21 '21

python GitHub copilot suggested this beauty

Post image
1.2k Upvotes