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 86519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:15:32+00:00 2026-05-10T22:15:32+00:00

When do you know it’s time to refactor/review some piece of code ? And

  • 0

When do you know it’s time to refactor/review some piece of code ? And better yet, when do you do it?

Probably like others, I’ve found myself knowing that something needs a refactor/review but deadlines and management left no time for that. I’d also like to hear how you include code review in the general development process.

Lately I’ve found myself doing it before working on new features/code. For example, if I have to develop something new or change something in module X of an application, I do a code review on that module. I found it also helps me understand the module better so I can then make the changes more easily.

So when do you know it’s time and when do you do it? And most of all how do you include it in the planning of a project?

  • 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-10T22:15:32+00:00Added an answer on May 10, 2026 at 10:15 pm

    I tend to see either ‘code smells’ like I’m repeating the same code over and over again or I see something that makes me think, ‘There has to be a better way to do this and I will go find it.’ It is part of how I write code and think it is somewhat of a good thing to have good code that may take a little longer to complete but that is much more easily scalable, maintainable, or have someone else take it and not have to spend days figuring out what I was doing in the code.

    If you’re inheriting code, then I tend to think there are 2 schools of thought on what to do with it:

    1) Keep your distance. This is where you make the required changes to get the feature in and don’t do anymore. If you know the module will be replaced soon or you only work on this once or twice a year, then I can see the logic in not wanting to spend lots of time fixing it.

    2) Immerse yourself and fix it now. If what you doing is fairly extensive changes or is a piece of code that you’ll be working with regularly, then it may be viewed as part of the maintenance to do some refactoring or documentation or however you’d want to describe where bad code is turned into not so bad code as this will save you time later on.

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

Sidebar

Related Questions

I know that fetching a cursor will give me access to variables like %ROWCOUNT,
I know this should be simple but can't figure it out. Here's the code.
Know anybody something about hooking __usercall type of functions? I hooking successfully __thiscall ,
I know number of block running on one SM is limited by block number,
I know that usually you want to strip these out, but I need the
i know how to make a console read two integers but each integer by
I know how to use file_get_contents and fopen etc, but when I do it
I know you can set the input for a scanner in Java. Is it
I know this is a noobish question, but I cannot get android-xmlrpc properly hooked
We're building an app, our first using Rails 3, and we're having to build

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.