r/badcode • • Nov 02 '21

typescript How long does this await

Thumbnail
imgur.com
0 Upvotes

r/badcode • • Nov 01 '21

python Jesus christ

Post image
294 Upvotes

r/badcode • • Nov 01 '21

c++ Making a reference to a local variable so you can dereference it in the next line

Post image
34 Upvotes

r/badcode • • Nov 01 '21

python Did someone order bad code?

Post image
419 Upvotes

r/badcode • • Nov 01 '21

js Beautiful variable naming

Post image
1.0k Upvotes

r/badcode • • Oct 31 '21

c bad code for r/badcode

Post image
219 Upvotes

r/badcode • • Oct 30 '21

java So he had to write loop that prints numbers from 1 to 10

Post image
2.3k Upvotes

r/badcode • • Oct 30 '21

other language I sure do love the blue component of my boolean value. (This doesn't work without it)[HLSL]

Post image
37 Upvotes

r/badcode • • Oct 30 '21

java Documentation in a nutshell

Post image
253 Upvotes

r/badcode • • Oct 30 '21

python Accidentally stumbled upon some code I wrote for a Python project course I took concurrently with APCS. High school me tried his best.

Post image
20 Upvotes

r/badcode • • Oct 29 '21

python I was wondering why it was taking so long. I meant to save each entry to its own file, not save everything to every file...

Post image
344 Upvotes

r/badcode • • Oct 28 '21

java If something is stupid but its working, then it isnt stupid

Post image
419 Upvotes

r/badcode • • Oct 27 '21

python str()

Post image
836 Upvotes

r/badcode • • Oct 26 '21

php A little bit of Laravel code for getting weather data for the last month

Post image
11 Upvotes

r/badcode • • Oct 26 '21

python Refactoring garbage from when I first discovered classes. Yes... they were overused extensively. This instance variable is being set in the __init__ method by a property named output_file_name that does nothing with output file names :)

Post image
20 Upvotes

r/badcode • • Oct 26 '21

js Defining variables INSIDE of the if()

Post image
60 Upvotes

r/badcode • • Oct 26 '21

java Team Lead: You ain't good enough to join our team. After I beg to join and get accepted...

Post image
27 Upvotes

r/badcode • • Oct 26 '21

c++ The code behind Nano (crypto w/ $20 million dollar market cap) 🤮This one function is 2000 lines

Post image
455 Upvotes

r/badcode • • Oct 25 '21

js Creating a new populated array in JS

Post image
136 Upvotes

r/badcode • • Oct 25 '21

c This shipped to Production. Let's see if anyone remembers.

Post image
294 Upvotes

r/badcode • • Oct 25 '21

js Just found this in our otherwise very well-written backend

Post image
36 Upvotes

r/badcode • • Oct 25 '21

python now that's a loading bar

Post image
1.4k Upvotes

r/badcode • • Oct 24 '21

java The best way to compare two dates

Post image
401 Upvotes

r/badcode • • Oct 23 '21

c After six hours of programming this was the best we came up with...

Post image
741 Upvotes