by wtch98 · 1w ago · 0 comments
I have code I wrote in 2006 which is still in daily use adding business value at my company. Why would it need replacing?
Technically, the FAA sees positive business value from using floppy disks over magnetic tape or punch cards.
But that’s not the right metric, since it ignores the fact that floppy disks are worse than a modern alternative.
If your code from 2006 is already perfect and there is no room for improvement, then there never be a need to replace it. But this doesn’t describe most software.
There is one more thing to mention, which is that any code from 2006 that you’re running has survived the quality filter of time. Most code from 2006 isn’t in use today. I think even a smaller proportion of code written today will be in use 20 years later.
As is a lot of newer code. Depends on the threat model
> Another reason is that if you can find a better way to accomplish the goal, then you should eventually switch to it.
If it's financially better and the gains outweigh the risks, sure
> If your code from 2006 is already perfect and there is no room for improvement
Or more realistically if the cost of improving it would be higher than the business benefit gained from improving it
> which is that any code from 2006 that you’re running has survived the quality filter of time
Not really, it's terrible code. But it does the job, because it was written to solve a business problem, not written to make beautiful code. If spending money on AI (thinking about the problem, writing the prompt, doing some form of testing) is cheaper than literally doing nothing, then sure.