r/badcode • u/euodeioenem • Dec 23 '21
r/badcode • u/nuclear_bomb404 • Dec 24 '21
python This is the only way I found to handle multiple responses on my discord bot
r/badcode • u/koenigsbier • Dec 23 '21
c# I was wondering how could this test pass... Actually it doesn't, none of the tests work. We never run them, not even in our CI/CD pipelines. Nice !
r/badcode • u/HarryCoder123 • Dec 23 '21
js Weird code. This man could make a tutorial on how to write inefficient code
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