<p>Do you actively manage <a href="http://forums.construx.com/blogs/stevemcc/archive/2007/11/01/technical-debt-2.aspx" rel="noreferrer">technical debt</a> debt on your software development projects and if so, how do you do it?</p>

[{'answer_id': 55429, 'author': 'Mike Reedell', 'author_id': 4897, 'author_profile': 'https://Stackoverflow.com/users/4897', 'pm_score': 2, 'selected': False, 'text': '<p>On our teams we actively manage technical debt.  We do Scrum, so we spawn a technical debt card for either the current iteration or the next iteration depending on the estimate and our remaining sprint capacity and they get prioritized just like features and bug cards do.  We also manage larger, cross-team debt items by having a cross-team backlog of technical debt that we prioritize and inject into each Scrum team during their sprint planning.</p>\n'}, {'answer_id': 55438, 'author': 'Jason Cohen', 'author_id': 4926, 'author_profile': 'https://Stackoverflow.com/users/4926', 'pm_score': 4, 'selected': False, 'text': '<p>One aspect of managing technical debt is in convincing non-technical managers that you need time allocated for refactoring and bug fixing.</p>\n<p><a href="https://blog.asmartbear.com/software-quality-mortgage.html" rel="nofollow noreferrer">Here\'s an article with specific suggestions</a> on how to do that.</p>\n'}, {'answer_id': 55458, 'author': 'Anders Sandvig', 'author_id': 1709, 'author_profile': 'https://Stackoverflow.com/users/1709', 'pm_score': 2, 'selected': False, 'text': '<p>I think it\'s important to schedule time for dealing technical debt if you are trying to make up for old sins, but I also think you should not make this a habit. Once you clean up the mess you should avoid putting your project into more debt, unless you have good reasons for doing so. </p>\n\n<p>Actively managing it like Mike suggests seems like the most reasonable approach, but I think it\'s very important to make it clear (to your team) that you should not schedule time or plan for refactoring in the long run. </p>\n\n<p>Refactoring should be a natural part of writing code, and thus should be included in your other estimates and plans, and not be treated as a separate activity&mdash;unless you have to, i.e for "historical" reasons or because you consciously decided to implement something a given way and then re-implement it later.</p>\n'}, {'answer_id': 152482, 'author': 'tloach', 'author_id': 14092, 'author_profile': 'https://Stackoverflow.com/users/14092', 'pm_score': 0, 'selected': False, 'text': "<p>It depends a lot on the product.  When I worked in a field where our code had to be outside-audited it was a planned part of our sprint.  PM just asked development what area needed refactoring and it was put in the plan.  That's not to say you wouldn't fix the code in the area you were working on, but you wouldn't devote a day to rewriting a mangled chunk of code that worked. Now I'm working in scrum and developers just do it as they work.  My impression is that about the same amount of time goes into refactoring work, either way.</p>\n"}, {'answer_id': 360367, 'author': 'Stephane Grenier', 'author_id': 39371, 'author_profile': 'https://Stackoverflow.com/users/39371', 'pm_score': 1, 'selected': False, 'text': '<p>What you do is <strong>create a culture</strong> where technical debt is not acceptable unless in extreme cases. Much like people who only pay cash and use credit only as an absolute last resort. </p>\n'}, {'answer_id': 360455, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>I agree with Anders. If you have to set up systems for managing technical debt, that means you\'re still adding it. Stop going into debt in the first place by upgrading your definition of "done".</p>\n\n<p>This does mean that "indebted" modules will be harder to work through. Developers should be aware of this and assign more story points so that they leave things "done" in their wake.</p>\n'}, {'answer_id': 360502, 'author': 'Kire Haglin', 'author_id': 2049208, 'author_profile': 'https://Stackoverflow.com/users/2049208', 'pm_score': 0, 'selected': False, 'text': "<p>If you're late into release cycle you don't want to change the code base too much. This means there will always be some technical debt. I usually write FIXME:s for the changes that are suboptimal and then I take care of them before I start to implement features for the next release.</p>\n"}, {'answer_id': 1259715, 'author': 'John Channing', 'author_id': 3305, 'author_profile': 'https://Stackoverflow.com/users/3305', 'pm_score': 0, 'selected': False, 'text': '<p>Java Posse have covered the management of <a href="http://javaposse.com/index.php?post_id=513672#" rel="nofollow noreferrer">Technical Debt</a> recently which looks very comprehensive.</p>\n'}, {'answer_id': 1259783, 'author': 'EricSchaefer', 'author_id': 8976, 'author_profile': 'https://Stackoverflow.com/users/8976', 'pm_score': 1, 'selected': False, 'text': '<p>If I really need to pile up technical debt, because I need to release something NOW, I file a critical bug about it, so it gets highest priority. But it is only for extreme situations (the client is jumping up and down, the wife is looking for a dingbat etc.).</p>\n'}, {'answer_id': 16087755, 'author': 'Camilo Martinez', 'author_id': 1000257, 'author_profile': 'https://Stackoverflow.com/users/1000257', 'pm_score': 0, 'selected': False, 'text': '<p>On the projects I have been involved so far, some technical debt has been "paid" (managed) only at the beginning of new phases of the projects, i.e. after "big releases" or milestones.</p>\n\n<p>A very important aspect about technical debt is that it not only involves developers but management as well. In that sense, I am aware that the best way to deal with it, is to make it visible to "non-technical project stakeholders" who might allocate time and resources to manage the technical debt once they understand its implications.</p>\n\n<p>This <a href="http://www.construx.com/10x_Software_Development/Technical_Debt/" rel="nofollow">article</a> discusses several types of technical debt, which ones might be healthy, and specially how to manage and track the technical debt load.</p>\n'}]
['https://Stackoverflow.com/questions/55421', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3305/']