Hacker News new | ask | show | jobs
by Yubzzzzz 1116 days ago
I always like to think about the half-life of both code and documentation.

"this code has a half life of 5 years" means there's a 50% chance that it'll get thrown out within the next 5 years. 3-5 years is a pretty common half-life IMO

Likewise "this documentation has a half-life of 2 years" means this documentation will no longer be useful in 2 years.

Yeah I've written some things that have been running for 10-15 years in production (I'm not old enough to see things to 30 years yet). It's a very tiny portion, though.