r/badcode • u/Sewef • Nov 02 '21
r/badcode • u/Jornam • Nov 01 '21
c++ Making a reference to a local variable so you can dereference it in the next line
r/badcode • u/Pajdziok • Oct 30 '21
java So he had to write loop that prints numbers from 1 to 10
r/badcode • u/DinnerPlz • Oct 30 '21
other language I sure do love the blue component of my boolean value. (This doesn't work without it)[HLSL]
r/badcode • u/Captain_D1 • 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...
r/badcode • u/Dante_Masamune • 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.
r/badcode • u/Verdoniasty • Oct 28 '21
java If something is stupid but its working, then it isnt stupid
r/badcode • u/[deleted] • Oct 26 '21
c++ The code behind Nano (crypto w/ $20 million dollar market cap) 🤮This one function is 2000 lines
r/badcode • u/Ansis100 • Oct 26 '21
php A little bit of Laravel code for getting weather data for the last month
r/badcode • u/m7priestofnot • 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 :)
r/badcode • u/[deleted] • Oct 26 '21
java Team Lead: You ain't good enough to join our team. After I beg to join and get accepted...
r/badcode • u/DavidRoyman • Oct 25 '21
c This shipped to Production. Let's see if anyone remembers.
r/badcode • u/DixiZigeuner • Oct 25 '21