I think it mostly takes mental energy to addapt to change. I think you can focus on a large complex mature codebase and make small improvements so long as you're not radically chaging everything. Maybe it comes down to synapses firing versus synapses rewiring but that's just a laymans guess.