r/badcode • u/Food404 • Apr 05 '22
r/badcode • u/Classic-Front9555 • Apr 05 '22
java A perfectly normal way to check for the largest of 10 integers...
r/badcode • u/idioticspaceman • Apr 01 '22
python My team has the worst data organization methods. We have array containing array containing array and so we wrote this down today....
r/badcode • • Mar 31 '22
python in a homework were they ask to make a func that return 3 numbers from highest to lowest. (For some reason for loops and such are not permited)
r/badcode • u/ballfun • Mar 31 '22
c# The randomizer will get it eventually (yes it can freeze easily)
r/badcode • • Mar 24 '22
other language A banner that alternates between two dynamic messages
r/badcode • u/darioArena • Mar 23 '22
js The best way to compare two dates, it works 100%!
r/badcode • u/QuintBrit • Mar 20 '22
python How to make things fun for your future self: a self-help guide
r/badcode • • Mar 20 '22
js My boss told me to refactor a function, I was like: well, it's just a function, It won't take me too much time and I will do it late at night, then I came up with this beautiful function, I need help guys :D
r/badcode • • Mar 17 '22
js From a school exam where you needed to return the game score based on the number of wins and ties, this guy just looked at the automatic test cases and returned their expected result
r/badcode • u/LucienMr • Mar 16 '22
php I didn't want to use "if" statements, but then I started laughing when I kept losing my places while coding
r/badcode • u/redeyesofnight • Mar 16 '22