But really, moving makes it super hard to build a good professional network and you have fewer opportunities as a result which causes a downward spiral of lack of improvement in skills. I’m really not that much better at anything besides rote memorization of some trivial technical facts than I had 10 years ago because I never have been challenged technically in that time period. This causes atrophy no different than lack of physical exercise. And unless you work another 20-30 hours / week outside of work you’re not going to catch up with those that do spend their time at jobs that appropriately challenge them and help them realize their full potential. Hence, location is among the more important factors as someone early in a career I’ll stress and is precisely why moving to some high cost area is worthwhile... if you can make use of what they have to offer.
Most of the advice I give to my juniors isn’t about code itself as much as larger design and architectural patterns that can cause years and years of effort to go down the tubes or require millions of dollars of human effort to correct. These are the decisions that cause major rifts even for architects. Heck, some older programmers I’ve worked with refused to write tests because they thought they’re a waste of time / crutches - does this mean I am a bad student or something? Not necessarily.