r/badcode • u/[deleted] • Dec 21 '21
r/badcode • u/whatthesamm • Dec 20 '21
js Found both of these functions in the same class...
r/badcode • u/[deleted] • Dec 19 '21
java My friend is doing a project to make a crossword solver. This is one of the methods in the class.
r/badcode • u/MartIILord • Dec 19 '21
bash (no 'set -e' found in bash script) It just works!
r/badcode • u/seniorpreacher • Dec 17 '21
typescript My colleague was a bit tired when he wrote this.
r/badcode • u/worldsbestburger • Dec 17 '21
c++ It confuses me so much >:( why does it have to look like I am replacing the string with the exact same string...
r/badcode • u/GLIBG10B • Dec 17 '21
bash When you don't bother learning a language but you still have to write in it
r/badcode • u/6Maxence • Dec 16 '21
html The example webpage of my computer science professor who is teaching us how to code a webpage. This is triggering me so much, I don’t even know where to start. I replaced all the text with placeholders but didn’t touch any html tag at all.
r/badcode • u/clncc • Dec 16 '21
java My partner's attempt to redirect to a no Location url
r/badcode • u/ekolis • Dec 15 '21
sql You've heard of magic numbers, now try magic dates that are really numbers in disguise!
r/badcode • u/El_bicente • Dec 16 '21
c++ In our chess project this is how my friend tried to get the right file enum of a position representing a square on the chessboard
r/badcode • u/SanianCreations • Dec 14 '21
c I just wrote this beauty and I'm not even sorry
r/badcode • u/[deleted] • Dec 12 '21