Hacker News new | ask | show | jobs
by micksabox 2043 days ago
> If you don’t touch code, it doesn’t intrinsically degrade.

This is one misunderstanding of code quality which takes an absolute approach to measuring code health. Code health is relative to the changing requirements of it’s use. If you suddenly add a requirement that doesn’t fit existing design assumptions, the code hasn’t changed but the relative to the ideal has deviated...without touching the code.

The tech debt metaphor is not perfect. The pandemic has given us all a better metaphor: the code health epidemic. I’ve written about it here: https://sovilon.com/2020/05/15/atd-epidemic-prevention-respo...

2 comments

>>> If you don’t touch code, it doesn’t intrinsically degrade.

That premise is factually wrong, code degrades over time because everything the code interfaces with is shifting over time (OS, compiler, interpreter, dependencies, etc...).

one also has to keep in mind things like bugs, external dependencies, security, and the environment in which its executing.

code does rot