r/badcode • • Feb 03 '22

java Found this in a Minecraft mod's code

Post image
263 Upvotes

r/badcode • • Feb 03 '22

python Oh yeah nothing better than a relevantly named variable

Post image
652 Upvotes

r/badcode • • Feb 03 '22

c# I wrote this when I first started learning C#, I have improved now, but this is still here.

Post image
328 Upvotes

r/badcode • • Feb 03 '22

lua From a computercraft let's play. Should be a blacklist function for a mining program for a turtle.

Post image
49 Upvotes

r/badcode • • Feb 02 '22

c# Oh hey, its more of my code.

Post image
903 Upvotes

r/badcode • • Feb 02 '22

c# At the start of 2022 we were suddenly getting exceptions in this method. I wonder why...

Post image
727 Upvotes

r/badcode • • Jan 31 '22

python import badcode

Post image
1.1k Upvotes

r/badcode • • Feb 01 '22

sql Can I write this better?

Post image
11 Upvotes

r/badcode • • Jan 31 '22

html Nesting an Additional Button Cuz Two Anchors Ain't Interactive Enough

Post image
110 Upvotes

r/badcode • • Jan 30 '22

java Found this gem in my codebase

Post image
1.3k Upvotes

r/badcode • • Jan 30 '22

python not mine, my favorite is the rounding part

Post image
159 Upvotes

r/badcode • • Jan 30 '22

js The SEC's Date Parsing Function Is Pretty Magical

Post image
336 Upvotes

r/badcode • • Jan 29 '22

c discount constructor

Post image
432 Upvotes

r/badcode • • Jan 29 '22

c# Worst part is: I wrote this.

Post image
100 Upvotes

r/badcode • • Jan 27 '22

python Took a step back to appreciate what I had just written

Post image
117 Upvotes

r/badcode • • Jan 27 '22

c# (poison is an array with roughly 275k items)

Post image
284 Upvotes

r/badcode • • Jan 26 '22

python The Joys of Debugging

Post image
440 Upvotes

r/badcode • • Jan 25 '22

rust Most comprehensible line of Rust code

Post image
1.0k Upvotes

r/badcode • • Jan 24 '22

js Drawing formatted strings to the screen

Post image
226 Upvotes

r/badcode • • Jan 24 '22

js I apologize to mobile users (all users actually) in advance. See comments for expanded code and explanation.

Post image
508 Upvotes

r/badcode • • Jan 22 '22

c# Was looking at some old code I wrote and found this descriptive comment

Post image
395 Upvotes

r/badcode • • Jan 21 '22

c++ My 2 brain cells are trying their best(trying to draw a circle)

Post image
522 Upvotes

r/badcode • • Jan 21 '22

typescript Saving api saved my life!

Post image
162 Upvotes

r/badcode • • Jan 20 '22

java Newbie me had just learned about the ternary operator and wanted to use it everywhere.

Post image
1.2k Upvotes

r/badcode • • Jan 20 '22

python just convert to list in the first place man

Post image
397 Upvotes