Legacy code is a concern for any company with a reasonably size team pretty quickly. In this article Wayne Lobb from Foliage provides us with industry metrics with respect to code growth (Unfortunately need to register to download). The quick summary is that on average a developer can either create…

# December 2011

The first assumption is that developer productivity declines with a constant rate $r$: (1) $\Large \frac{dP(t)}{dt}$ = $\large -r \cdot P(t)$ Divide by $P(t)$: (2) $\Large \frac{1}{P(t)}$ $\cdot$ $\Large \frac{dP(t)}{dt}$ = $-r$ (3) $\Large \frac{dP(t)}{P(t)}$ = $-r dt$ (4) $\Large \int \frac{dP(t)}{P(t)}$ = $-r \int t dt$ (5) $\large ln(P(t))=…

At $t = 0$ $P_0$ is defined to be developer productivity without legacy obligations (1) $\large P(0) = P_0$ At time $t$ the developer productivity is given by the following equation. $r$ denotes the rate in which productivity declines over time: (2) $\large P(t) = P_0 \cdot e^{-r t} dt$…