Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 395991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:30:30+00:00 2026-05-12T16:30:30+00:00

My new project is to renew Software that a customer had used for years.

  • 0

My new project is to renew Software that a customer had used for years.
Like we all know…things grew over the years.

So i looked at the old app. get all Infos about it and wrote a lot of user stories down.
After cleaning it up i recognized that i made (in the end) a mistake that leads to the same problem that the customer has now.

It is a different Mistake i made but really annoying.

How do you guys prevent such mistakes. Do you refuse looking at the old app?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T16:30:30+00:00Added an answer on May 12, 2026 at 4:30 pm

    This is a really hard problem. I’ll describe what I would do (and have done) if the old code is substantially large.

    In general, the old code is full of decisions, bug fixes and undocumented behaviors. If you throw that away, you’re bound to make many of the same mistakes they did and then some more.

    For what it’s worth, you should evolve the system around the old code. Try to abstract away from the old code, e.g., by creating interfaces, and then implement them by calling the old code at first. Write lots of unit tests for the interfaces, and gain knowledge about how the old code works. New features should gain new implementations, so old code and new code will live side-by-side, for as long as needed, and maybe even forever.

    Now, slowly and carefully make incursions into the old code, refactoring it, replacing it, and making sure that your tests still pass. Write new tests as well. If you have regression tests for the system (apart from the unit tests), they still need to pass.

    It’s OK not to touch the old code, typically if it’s working OK, there’re no bugs reported for it, it passes your tests, and it doesn’t need to be extended.

    Some good resources:

    http://martinfowler.com/bliki/StranglerApplication.html

    Working Effectively with Legacy Code

    I’ve also found it in StackOverflow already:

    Strategy for large scale refactoring

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am begining a new project that i think will last for some years.
I need :project_owners to invite new :project_participants to a project. Much like in Basecamp,
I'm starting a new project and I want to use NHibernate 3.2. I know
I'm starting a new project and although I'm used to MySQL, I'm worried about
Every new project that the client registers the system creates a folder to store
I will start a new project as an Eclipse Plugin, but I found that
I am in a new project that is looking to include an end to
I'm on a new project that requires to stream audio files (mp3) and record
Soon after starting a new project I realized, that I'm not getting the correct
We are bringing a new project in house and whereas previously all our work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.