Earlier quoted context omitted.
> Except, we can (fairly objectively) reason about performance and security, while 'clean code' and 'maintainability' are arbitrary, with vague guidelines at best. Ok, how does one best reason about performance and security with messy unmaintainable code? You barely need to try even shallow reasoning about a code base at all, before it's clean vs. messy, and maintainable vs. unmaintainable status will feel very objec…
>Ok, how does one best reason about performance and security with messy unmaintainable code? The same way one does it with 'clean' code: Using profiling tools. Security is a bit less straight forward, but still. >will feel very objective. Keyword: Feel. And while most people could probably agree on terrible code being terrible, the 'less terrible' the code is, the more this argument becomes a feeling. And then we hit…
Messiness and unmaintainability does not scale. You can argue its not a completely objective thing to measure. That is true. And yet objectively, it really matters.
Not everything that is important comes with a clear number. Which is why experience and good judgement matter too. Two more things without numbers.