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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:06:29+00:00 2026-05-10T21:06:29+00:00

Setup Have you ever had the experience of going into a piece of code

  • 0

Setup

Have you ever had the experience of going into a piece of code to make a seemingly simple change and then realizing that you’ve just stepped into a wasteland that deserves some serious attention? This usually gets followed up with an official FREAK OUT moment, where the overwhelming feeling of rewriting everything in sight starts to creep up.

It’s important to note that this bad code does not necessarily come from others as it may indeed be something we’ve written or contributed to in the past.

Problem

It’s obvious that there is some serious code rot, horrible architecture, etc. that needs to be dealt with. The real problem, as it relates to this question, is that it’s not the right time to rewrite the code. There could be many reasons for this:

  • Currently in the middle of a release cycle, therefore any changes should be minimal.
  • It’s 2:00 AM in the morning, and the brain is starting to shut down.
  • It could have seemingly adverse affects on the schedule.
  • The rabbit hole could go much deeper than our eyes are able to see at this time.
  • etc…

Question

So how should we balance the duty of continuously improving the code, while also being a responsible developer? How do we refrain from contributing to the broken window theory, while also being aware of actions and the potential recklessness they may cause?


Update

Great answers! For the most part, there seems to be two schools of thought:

  1. Don’t resist the urge as it’s a good one to have.
  2. Don’t give in to the temptation as it will burn you to the ground.

It would be interesting to know if more people feel any balance exists.

  • 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-10T21:06:30+00:00Added an answer on May 10, 2026 at 9:06 pm

    I’m a big fan of making lists!

    As soon as the urge takes you to re-write something – spend 10 minutes making a list of the things that need re-writing. Follow all of the alleys that take you further into the code that needs attention and list those, too.

    Hopefully within a relatively short space of time you’ll have one of two things:

    • A really long list that completely puts you off wanting to rewrite anything ever again.
    • A list which actually isn’t that long, so why not indulge yourself and go for a re-write?!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 74k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer There is text2re, a free web-based 'regex by example' generator.… May 11, 2026 at 2:18 pm
  • added an answer Try: std::for_each(vec_out.begin(), vec_out.end(), output<T>); where vec_out is a container (vector)… May 11, 2026 at 2:18 pm
  • added an answer I would port them to ... um ... COBOL. Yes,… May 11, 2026 at 2:18 pm

Related Questions

I've been using ISAPI_Rewrite from Helicon ( http://www.helicontech.com/isapi_rewrite/ ) on a Server 2003 box
This semester I'm teaching a class at a local university. Thus far, I've had
Our company has for many years had multiple domain names to protect our product
We’ve found that the unit tests we’ve written for our C#/C++ code have really

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.