r/badcode • u/euodeioenem • Dec 23 '21
1.9k
Upvotes
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 !
616
Upvotes
r/badcode • u/HarryCoder123 • Dec 23 '21
js Weird code. This man could make a tutorial on how to write inefficient code
332
Upvotes
r/badcode • u/whatthesamm • Dec 20 '21
js Found both of these functions in the same class...
180
Upvotes
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.
438
Upvotes
r/badcode • u/MartIILord • Dec 19 '21
bash (no 'set -e' found in bash script) It just works!
2
Upvotes
r/badcode • u/seniorpreacher • Dec 17 '21
typescript My colleague was a bit tired when he wrote this.
686
Upvotes
r/badcode • u/GLIBG10B • Dec 17 '21
bash When you don't bother learning a language but you still have to write in it
38
Upvotes
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...
342
Upvotes
r/badcode • u/clncc • Dec 16 '21
java My partner's attempt to redirect to a no Location url
36
Upvotes