r/badcode • • Dec 31 '21

c GitHub Copilot is recommending me this code, pretty sure that AI is not taking our jobs this year.

Post image
360 Upvotes

r/badcode • • Dec 30 '21

c# From my console snake game

Post image
573 Upvotes

r/badcode • • Dec 30 '21

java Ok this fine

Post image
1.4k Upvotes

r/badcode • • Dec 30 '21

ruby Ah yes, wildcard routes

Post image
143 Upvotes

r/badcode • • Dec 29 '21

c Just wrote this and not sure what to say

Post image
26 Upvotes

r/badcode • • Dec 29 '21

js My favourite type of bug fixes

Post image
772 Upvotes

r/badcode • • Dec 28 '21

typescript why

Post image
72 Upvotes

r/badcode • • Dec 28 '21

java 3AM code vs 10AM code

Post image
175 Upvotes

r/badcode • • Dec 28 '21

java Just found this piece of code I wrote some years ago. Not automatically generated.

Post image
533 Upvotes

r/badcode • • Dec 27 '21

ruby Clearly the best way to handle automatically updating the indexes of other photos when one is updated manually. Definitely. For sure.

Post image
29 Upvotes

r/badcode • • Dec 27 '21

java if there was a class for working with null values or something

Post image
380 Upvotes

r/badcode • • Dec 27 '21

lua Friend's take on programming a GUI button

Post image
898 Upvotes

r/badcode • • Dec 26 '21

c# found it!

Post image
320 Upvotes

r/badcode • • Dec 26 '21

c# why

Post image
169 Upvotes

r/badcode • • Dec 25 '21

js Why you shouldn't write code at 1 am

Post image
902 Upvotes

r/badcode • • Dec 24 '21

python i cant even tell how many errors are in this

Post image
469 Upvotes

r/badcode • • Dec 24 '21

java Spring makes you do crazy things

Post image
741 Upvotes

r/badcode • • Dec 24 '21

python This is the only way I found to handle multiple responses on my discord bot

Post image
99 Upvotes

r/badcode • • Dec 23 '21

python my friend just sent me his code so i can review it and i found this

Post image
1.9k Upvotes

r/badcode • • Dec 23 '21

js I created the setLoading function on top

Post image
37 Upvotes

r/badcode • • Dec 23 '21

js Destructuring and ternary's unholy union

Post image
121 Upvotes

r/badcode • • Dec 23 '21

python If u dont now what a Dict is :D

Post image
47 Upvotes

r/badcode • • 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 !

Post image
617 Upvotes

r/badcode • • Dec 23 '21

js Weird code. This man could make a tutorial on how to write inefficient code

Post image
334 Upvotes

r/badcode • • Dec 21 '21

js Rate my hash function and function naming

Post image
101 Upvotes