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

  • SEARCH
  • Home
  • 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 44229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:37:10+00:00 2026-05-10T15:37:10+00:00

I am working on an application that is about 250,000 lines of code. I’m

  • 0

I am working on an application that is about 250,000 lines of code. I’m currently the only developer working on this application that was originally built in .NET 1.1. Pervasive throughout is a class that inherits from CollectionBase. All database collections inherit from this class. I am considering refactoring to inherit from the generic collection List instead. Needless to say, Martin Fowler’s Refactoring book has no suggestions. Should I attempt this refactor? If so, what is the best way to tackle this refactor?

And yes, there are unit tests throughout, but no QA team.

  • 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. 2026-05-10T15:37:11+00:00Added an answer on May 10, 2026 at 3:37 pm

    250,000 Lines is alot to refactor, plus you should take into account several of the follow:

    1. Do you have a QA department that will be able to QA the refactored code?
    2. Do you have unit tests for the old code?
    3. Is there a timeframe that is around the project, i.e. are you maintaining the code as users are finding bugs?

    if you answered 1 and 2 no, I would first and foremost write unit tests for the existing code. Make them extensive and thorough. Once you have those in place, branch a version, and start refactoring. The unit tests should be able to help you refactor in the generics in correctly.

    If 2 is yes, then just branch and start refactoring, relying on those unit tests.

    A QA department would help a lot as well, since you can field them the new code to test.

    And lastly, if clients/users are needing bugs fixed, fix them first.

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

Sidebar

Related Questions

I am currently working on a Silverlight 4.0 Application that displays about 13.000 rows
I'm working on this application that's sort of like a blog. I'm thinking about
I am working on a java web application that gets hit about 400,000 times
I am working on splitting out an existing, working application that I currently have
I'm working on an application that contains some buttons defined via layout.xml like this
I am currently working on server application that has to deal with reasonable amount
I am working on an application that works like this: It fetches data from
I am working on an application that runs a service. This service starts automatically
I am currently working on an application that makes use of a MapView and
I'm currently working at a application that helps people understand how to do there

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.