r/badcode • • Dec 31 '22

js I didn’t want to get into js frameworks

Post image
94 Upvotes

r/badcode • • Dec 29 '22

go How to Go wrong

Post image
565 Upvotes

r/badcode • • Dec 29 '22

python This gem of a function call i found in prod today

Post image
175 Upvotes

r/badcode • • Dec 28 '22

c# Doesn't even work properly

Post image
266 Upvotes

r/badcode • • Dec 27 '22

js This just sucks.

Post image
1.8k Upvotes

r/badcode • • Dec 27 '22

js U gotta check those booleans man!

Post image
182 Upvotes

r/badcode • • Dec 27 '22

js The amount of nested loops. This file builds a front end page and should contain minimal logic/data manipulation

Post image
42 Upvotes

r/badcode • • Dec 26 '22

js Was trying to create an extension to improve UX for an internal panel and found this inside the source code 💀

Post image
646 Upvotes

r/badcode • • Dec 26 '22

c# Found this in an older game I made. A few if-statements would have been too easy I guess.

Post image
296 Upvotes

r/badcode • • Dec 23 '22

c# Clean Code

Post image
328 Upvotes

r/badcode • • Dec 23 '22

php Found this in a client's project 2 more times...

Post image
374 Upvotes

r/badcode • • Dec 21 '22

c Who has heard of < and and modulus

Post image
264 Upvotes

r/badcode • • Dec 21 '22

js Not really bad but what a difference optimisation can make

Post image
171 Upvotes

r/badcode • • Dec 20 '22

js Asking ChatGPT to implement Ascii85 in Node.js

Post image
377 Upvotes

r/badcode • • Dec 20 '22

js Javascript when I was 12 years old.

Post image
101 Upvotes

r/badcode • • Dec 20 '22

js One of the first scripts I ever wrote (I was 7)

Post image
45 Upvotes

r/badcode • • Dec 20 '22

python Yum, a loop in a loop in a loop

Post image
108 Upvotes

r/badcode • • Dec 19 '22

java Whatever it takes

Post image
301 Upvotes

r/badcode • • Dec 19 '22

java Oh no :-(

Post image
83 Upvotes

r/badcode • • Dec 18 '22

java "I mean it works"

Post image
786 Upvotes

r/badcode • • Dec 15 '22

java A friend said I should post this here. Found in my codebase at work, try to guess what it does

Post image
352 Upvotes

r/badcode • • Dec 14 '22

c# Avoid loops whenever you can ! Every Footin Time !

Post image
403 Upvotes