I agree with the overall sentiment of this post but I'm not sure about this:
> A codebase that is easy to maintain becomes easier to optimize.
I think optimization and maintainability are often at odds. The only example which comes to mind is loop unrolling, increases performance, decreases maintainability.