News for hackers. Stuff that matters.
Re:All code is technical debt by Spivak on Wednesday December 20, 2023 @10:39PM (#38716737)
> working code requires ongoing maintenance

I don't love this either because working code needs no maintenance whatsoever. After all it's already working. There's also no notion of "repairing" code because it isn't something that can just break suddenly.

So really what we're talking about is that necessary changes to the codebase can arise from not just the stakeholders as we typically define them but also because the environment around the code changes.

Someone who invested in shutters that can close instead of being purely decorative will be able to adapt more quickly and cheaply to a wind storm than someone who has to go out and buy wood to board them up.

Re:All code is technical debt by sowbug on Wednesday December 20, 2023 @10:56PM (#38716831)
Changes to the platform or dependencies break working code. This is increasingly hard to ignore when app stores stop vending your product to older versions of a platform, even if it's working fine.

And working code, no matter how well it works, imposes a cost to implementing new features. A new feature might be a cinch to implement in a new app. But it can easily take much longer to implement the same feature in an existing app.

Re:All code is technical debt by Jensson on Thursday December 21, 2023 @12:26AM (#38717282)
> Changes to the platform or dependencies break working code

Not all code. You have platform dependent code and then code that doesn't depend on anything outside of your own code. The code with no outside dependencies can easily stay around unchanged for decades and is not a liability.

"All dependencies are liabilities" I could agree with. Dependencies are technical debt that will continue to demand interest from you, they are often worth it but they are the main source of maintenance burden. Some are unavoidable if you need to interface with an API, but many are not.

Re:All code is technical debt by MrJohz on Thursday December 21, 2023 @02:01AM (#38717836)
Unless you're deploying your code bare-metal on a machine with no OS, you've got software dependencies, and even in that situation you've got hardware dependencies. I think the idea of dependency-free code is a myth that we like to use based on the abstraction layers we're comfortable with - if I'm okay assuming that a given layer always Just Works™, then it magically stops being a dependency and becomes the new ground level.

That said, I agree that it's helpful to think of dependencies in terms of their potential liability as well as their benefit.