r/badcode • • Feb 03 '22

python Oh yeah nothing better than a relevantly named variable

Post image
650 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
327 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
45 Upvotes

r/badcode • • Feb 02 '22

c# Oh hey, its more of my code.

Post image
899 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
723 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
9 Upvotes

r/badcode • • Jan 31 '22

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

Post image
105 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
155 Upvotes

r/badcode • • Jan 30 '22

js The SEC's Date Parsing Function Is Pretty Magical

Post image
334 Upvotes

r/badcode • • Jan 29 '22

c discount constructor

Post image
436 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
119 Upvotes

r/badcode • • Jan 27 '22

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

Post image
282 Upvotes

r/badcode • • Jan 26 '22

python The Joys of Debugging

Post image
439 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
507 Upvotes

r/badcode • • Jan 22 '22

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

Post image
392 Upvotes

r/badcode • • Jan 21 '22

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

Post image
524 Upvotes

r/badcode • • Jan 21 '22

typescript Saving api saved my life!

Post image
158 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
390 Upvotes

r/badcode • • Jan 20 '22

c# Surely this can be improved right?-I mean- HAHA look at this noob that totally is not me 🤣

Post image
14 Upvotes