Code Maintenance Costs

Discussions focus on the trade-offs between short-term development speed (e.g., hacks for quick market entry) and long-term costs of maintaining, fixing bugs, and dealing with technical debt in software.

āž”ļø Stable 0.5x Startups & Business
3,535
Comments
20
Years Active
5
Top Authors
#6295
Topic ID

Activity Over Time

2007
5
2008
21
2009
35
2010
62
2011
80
2012
87
2013
109
2014
106
2015
140
2016
201
2017
196
2018
232
2019
284
2020
254
2021
324
2022
324
2023
408
2024
272
2025
352
2026
45

Keywords

BOM BUG POS PR API E2E VC JVM code cost costs maintenance maintenance costs software term bad code short term expensive

Sample Comments

nikanj • Jul 25, 2025 • View on HN

The cost of dealing and supporting an old codebase instead of burning it all and releasing a written-from-scratch replacement next year

caseyy • May 13, 2025 • View on HN

There are many exceptions.1. Sometimes speed = money. Being the first to market, meeting VC-set milestones for additional funding, and not running out of runway are all things cheaper than the alternatives. Software maintenance costs later don't come close to opportunity costs if a company/project fails.2. Most of the software is disposable. It's made to be sold, and the code repo will be chucked into a .zip on some corporate drive. There is no post-launch support, and the s

blacktriangle • Aug 6, 2021 • View on HN

That's the price of writing maintainable software.

qwerta • Jun 4, 2013 • View on HN

Maintainability and technical debt are very real metrics. It is just question of short-term versus long-term investment. This article prefers short-term investment (as many other startups do). I just wish buyers would include code maintenance costs when evaluating start-up.

riledhel • Feb 6, 2011 • View on HN

The cost of building software pales in comparison to the cost of maintaining, enhancing, and supporting it. Totally nailed it.

dmos62 • May 13, 2025 • View on HN

Bad software is not cheaper to make (or maintain) in the long-term.

lamontcg • Dec 21, 2022 • View on HN

Yeah, code maintenance isn't actually free.

slededit • Jan 23, 2017 • View on HN

You are excluding the costs of bugs such a rewrite would inevitably produce. Normally that is drastically more expensive then Dev time.

maigret • Mar 23, 2011 • View on HN

The cost of fixing bugs is correlated with the value your software provides. If you write any software that not much people are using and relying on it (I mean, relying on it to do their job, manage their bank account, their customers...), then a bug on a production system will probably cost you a lot. The other side of that is that code where you don't need software engineering cannot be really relied on. Hacking will help you getting a prototype fast, but if you want to scale you need software

bestCauliflower • Aug 21, 2018 • View on HN

What about this?>I’m almost certain the cost of fixing the code exceeded the margin on revenue due to writing it in the first place.Does bussiness really not care that you have to build the same thing twice?