DEV Community

Cover image for The best examples of bad code I’ve come across production mode.
Soso Gvritishvili
Soso Gvritishvili

Posted on

8 1

The best examples of bad code I’ve come across production mode.

These screenshots are just for fun, I hope u won’t get angry with these guys.

This is only one not from production. But it is the best example of shitcodeThis is only one not from production. But it is the best example of shitcode

What The Hell<br>
What The Hell

2-in-1. Custom padStart and “validateAuth”<br>
2-in-1. Custom padStart and “validateAuth”

Simple navigationSimple navigation

Conditional statement, local language e.t.c<br>
Conditional statement, local language e.t.c<br>
Conditional statement, local language e.t.c

Vue.js like hell’s jquery. See Article<br>
Vue.js like hell’s jquery. See Article

So clean<br>
So clean

Just “isTrue”Just “isTrue”

Alt TextThis HTML code has written by bank developers and it is still in production:(

P.S.
I also have a lot of bad codes.
I have found this in my project, but I don’t understand what the hell is — Set language function )))))

Alt Text

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay