This is a software engineering/software philosophy question.
I'm not a bitcoin code contributor. I'm a software dev and in my experience every software shows its age. It's either refactored or replaced by new software that builds on lessons from v1.0.
Since bitcoin is the first of its kind -- decentralized electronic money -- is it possible it will undergo refactoring in the future?
I can't think of any widely used software that's been running for 10-15 years, more or less with the original architecture or code.
How is bitcoin different than other software like linux, windows, macOS, etc, in that it won't have to be refactored from the ground up?
Just a thought that occurred to me years ago that I still haven't found the answer to.