DEV Community

Batyr Mammetesenov
Batyr Mammetesenov

Posted on

How Do You Actually Deal With Legacy Code at Work? I’m Curious.

I've been diving into the world of software maintenance lately, especially the reality of dealing with legacy code, tech debt, and messy old systems.

It seems like a topic everyone "has to deal with" :( but almost no one talks about openly.

So I’m asking:

  • When you’re working in a large or messy codebase, what’s your actual strategy?
  • Do you try to refactor as you go, or just avoid touching things that work?
  • What slows you down the most? Lack of docs? Dependencies? Logic?
  • Is there anything you wish could be automated but hasn’t been?

I’m not building anything right now, just researching this deeply and trying to learn from real developers. Would love to hear your thoughts, war stories, or advice.

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

If this post resonated with you, feel free to hit ❤️ or leave a quick comment to share your thoughts!

Okay