So if you are having a new socket added in your kitchen, then all the other sockets in the kitchen on the same circuit will need updating, and the breaker for the kitchen.
But you probably won't have to have your living room rewired.
I’m having a new service entry cable, meter box, and main breaker panel put in next week. By its nature that should impact every single circuit in my house. But my electrician isn’t touching anything besides what I listed above, and I know that there are multiple other things around the house not up to current code.
The price I’m paying for this job lines right up with the national job average pricing you can find online. If it was common to require doing all of that extra code updating I would think the average price should be much higher.
Maybe I’m wrong but my thought is that it isn’t so black+white and some electricians may push upsells harder than other more honest ones.
However I think many locations in the US way overdo regulation when it comes to residential building codes. When you buy a house, you get a professional inspection. If it comes up dangerous, then you are armed with the knowledge to make a risk decision that’s right for you.
I don’t need spacecraft level engineering on my car; similarly i don’t need skyscraper level engineering on my house.
However, I think the 10 years is a bit pessimistic. At least in the US, the code hasn't changed that much in the last 20-30 years, and many of the changes are at the periphery where they are easy to modify like GFCIs, and tamper resistant outlets, etc, so I wouldn't be afraid of making modifications to existing circuits for houses in that range. Older than that you start running into (AA-1350) aluminum wiring (35 years or older) or two-conductor wiring (65 years or older), and you'll want to take the policy of not touching those old circuits unless you plan on completely replacing them.
Doing an addition? Well, now you need to ensure the entire house has fire/C02 detectors wired together with it.
Sorry, is there a requirement that every single wall should have a socket? ...that's what extension cords are for.
That's exactly why every wall is required to have an outlet now, to reduce the use of extension cords.
https://www.homedepot.com/p/HDX-55-ft-16-3-Green-Outdoor-Ext...
There's a really good explanation in this video: https://www.youtube.com/watch?v=K_q-xnYRugQ
In a kitchen scenario, every counter top more than a foot needs an outlet and for longer counter top runs you need one every 4 feet.