With the factory allegory: code is stock. Stock costs and is a liability hence Lean manufacturing.

Worse: it's typically work in progress.