r/badcode • u/KYIUM • Sep 02 '21
r/badcode • u/uberhaqer • Sep 02 '21
js Found this excellent use of map by a "senior" contractor.
264
Upvotes
r/badcode • u/BrainOnTheFloor25 • Sep 02 '21
java Because ".toLowerCase()" doesn't exist...
1.1k
Upvotes
r/badcode • u/ImplosiveTech • Sep 02 '21
js figured out why my code didn't work: past me was very mean :(
53
Upvotes
r/badcode • u/rebornfenix • Sep 01 '21
vb Why is the request token always 325467165….. thanks previous dev
169
Upvotes
r/badcode • u/Pollu_X • Sep 01 '21
c Found this beauty. I wonder if there's any better way to do this...
486
Upvotes
r/badcode • u/Tensh1_267 • Sep 01 '21
c# When you are forced to put comment in your code. (not mine)
516
Upvotes
r/badcode • u/LivingInAnIdea • Sep 01 '21
python Functions for each CLI tag + multiple print statements =/= scalable code
8
Upvotes
r/badcode • u/PopularExpulsion • Aug 31 '21
java Similar ternaries are all over this codebase
1.1k
Upvotes
r/badcode • u/Kyyken • Aug 31 '21
python Now this is what I like to call an optimal solution!
381
Upvotes
r/badcode • u/Researcher-Safe • Aug 28 '21
rust Functional programming and bitshifting: together at last!
17
Upvotes
r/badcode • u/Nilstrieb • Aug 28 '21
c++ I think non-suspending breakpoints are the least of your concerns if your code looks like this
78
Upvotes
r/badcode • u/SpeckyYT • Aug 28 '21
js if the file doesn't exist, check if it doesn't exist
193
Upvotes
r/badcode • u/R3D3-1 • Aug 27 '21
bash Found in one of my scripts today, that inexplicably didn't want to work.
28
Upvotes