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 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 59k
  • Answers 59k
  • 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 Faster? What you have there is O(n^2). Each item in… May 11, 2026 at 8:57 am
  • added an answer const int * a; Read the declaration from right to… May 11, 2026 at 8:57 am
  • added an answer Have you tried Magick++ and/or MagickCore? Your next best bet… May 11, 2026 at 8:57 am

Related Questions

Setup Have you ever had the experience of going into a piece of code
How do you setup a multi-developer XDebug PHP environment? I have the following setup:
How do you set up NAnt with only the bare minimum binaries? I have
Setup I have a website that draws RSS feeds and displays them on the
Setup: I have an HTML page with a fieldset element. The background color of
Setup I have a VBScript for driving the stress testing of a web service.
I have setup web dav on windows server 2008. It seems to work fine
I have setup a property and implement INotifyPropertyChanged like so... public event PropertyChangedEventHandler PropertyChanged;
Here's the setup I have in a vs2008 solution: Data layer in a project
At the moment I have setup a custom ok cancel dialog with a drop

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.