Tagged Questions
40
votes
10answers
2k views
Is it a good idea to schedule regular time to clean up code? [closed]
I'm managing a small team of developers. Every so often we decide we're going to spend a day or two to clean up our code.
Would it be a good idea to schedule regular time, say 1 week every 2 months, ...
14
votes
8answers
568 views
Quantifying the value of refactoring in commercial terms
Here is the classic scenario; Dev team build a prototype. Business mgmt like it and put it into production. Dev team now have to continue to deliver new features whilst at the same time pay the ...
3
votes
6answers
611 views
What to do when you inherit an unmaintainable codebase? [duplicate]
Possible Duplicate:
Techniques to re-factor garbage and maintain sanity?
I've inherited 200K lines of spaghetti code — what now?
I'm currently working at a company with 2 other ...
6
votes
3answers
149 views
What do I need to learn to decide on rename/recompile source package names because of company rebranding?
My company is currently at a rebranding process and the brand names have been used in the sources' package names but these names are only visible to developers who maintain this code so nobody from ...
4
votes
3answers
414 views
CTO has left — codebase is a huge kludge, any advice on how to manage/handle/damage control? [closed]
I began work at a company 2 months ago as a PHP developer. I stepped in to somewhat of a kludge, but I've yet to find a company that isn't... The development stable is currently two developers ...
5
votes
3answers
276 views
Starting on a large project, should I split it into more concise parts?
Background: Currently an intern at a company and working on repurposing older programs (still in use, but for different departments) for use in testing new hardware. The new hardware is different in ...
19
votes
13answers
1k views
When is it acceptable to NOT fix broken windows?
In reference to broken windows, are there times when refactoring is best left for a future activity?
For example, if a project to add some new features to an existing internal system is assigned to a ...
14
votes
6answers
523 views
How to determine the priority and severity of a “code improvement”?
We have "priority" and "severity" fields in our bug tracking system. We define severity as "how it impacts the user" and priority as "how it impacts the product".
My question is about how to ...
10
votes
8answers
432 views
What can be the cause of new bugs appearing somewhere else when a known bug is solved?
During a discussion, one of my colleagues told that he has some difficulties with his current project while trying to solve bugs. "When I solve one bug, something else stops working elsewhere", he ...
2
votes
3answers
146 views
When does switching to a framework mid-project make sense?
Some of my friends and I started a PHP project some weeks ago. In the beginning, I suggested we use a PHP framework such as CodeIgniter or Zend. But my friends wanted to start clean and without the ...
17
votes
8answers
575 views
Dealing with coworkers when developing, need advice [closed]
I developed our current project architecture and started developing it on my own (reaching something like, revision 40).
We're developing a simple subway routing framework and my design seemed to be ...
3
votes
8answers
706 views
Should this code be rewritten or refactored?
There is a module in our telecoms equipment which is written in C. I think the code in this module has a bad smell because it has a number of symptoms:
When new features are added to this module, ...
