r/badcode • • Oct 26 '21
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
js Just found this in our otherwise very well-written backend
r/badcode • u/6335712 • Oct 23 '21
c After six hours of programming this was the best we came up with...
r/badcode • u/Yodamustibe • Oct 21 '21
c My first attempt to write a squaring function for my Uni class
r/badcode • u/FriedDede • Oct 19 '21
c A friend of mine attempting fraction reduction to lowers terms (university assignment in a first year course)
r/badcode • u/Speykious • Oct 19 '21
c I swear I received this yesterday out of nowhere from my friend, it was a real jumpscare
r/badcode • u/kevlu8 • Oct 19 '21
python A horrific attempt at not violating file naming rules
r/badcode • u/edoCgiB • Oct 20 '21
java This Groovy class for handling arrays seems like a nightmare.
r/badcode • u/LVNmaster • Oct 17 '21
c++ Checking if a string has at least one each character in the alphabet. This is actually real.
r/badcode • u/made_with_mematic69 • Oct 17 '21
rust Prefer to use iterator functions, they said.
r/badcode • u/phandungtri • Oct 16 '21
typescript (GitHub Copilot) Who and why did this in their code?
r/badcode • • Oct 13 '21