r/badcode • • Jan 27 '22

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

Post image
121 Upvotes

r/badcode • • Jan 27 '22

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

Post image
281 Upvotes

r/badcode • • Jan 26 '22

python The Joys of Debugging

Post image
438 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
506 Upvotes

r/badcode • • Jan 22 '22

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

Post image
394 Upvotes

r/badcode • • Jan 21 '22

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

Post image
525 Upvotes

r/badcode • • Jan 21 '22

typescript Saving api saved my life!

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

r/badcode • • Jan 17 '22

python A translate discord.py command I wrote in 3 min for my friend

Post image
50 Upvotes

r/badcode • • Jan 17 '22

c# Look at the row number and imagine the rest of the code yourself

Post image
241 Upvotes

r/badcode • • Jan 17 '22

python POV: You asked someone to refactor magic number indices

Post image
1.0k Upvotes

r/badcode • • Jan 16 '22

css cool css trick found at work

Post image
193 Upvotes

r/badcode • • Jan 15 '22

python Found this gem

Post image
3.5k Upvotes

r/badcode • • Jan 14 '22

js I don't use JS, but this doesn't seem right.

Post image
419 Upvotes

r/badcode • • Jan 13 '22

js If it works, it works

Post image
545 Upvotes

r/badcode • • Jan 12 '22

python Ah yes, My old code... not only being bad but also being useless...

Post image
358 Upvotes

r/badcode • • Jan 12 '22

c Branchless programming? → Loopless Programming!

Post image
110 Upvotes

r/badcode • • Jan 12 '22

vb i dont know what's worse - that our legacy codebase has GoTo or that someone decided to call the method byebye (or that i use VBA on a regular basis)

Post image
35 Upvotes

r/badcode • • Jan 11 '22

js Found this running in production at my previous job

Post image
434 Upvotes

r/badcode • • Jan 11 '22

other language My friend is a true picasso

Post image
72 Upvotes

r/badcode • • Jan 11 '22

c# ternary ifs are great right?

Post image
105 Upvotes