Worth way more. In theory if you’re writing product software, you helped build a money generation machine for the company that can run forever.
If you're talking web agencies or subcontractors, that make more sense, as the client is paying for the waste, regardless.