I'm 47 and although currently feeling a little burnt out (I've been here before. I'll be finishing my current contract in a few weeks for a well earned break), I know I love coding and pretty sure I always will having spent the last 40 years coding. I've done a bit of management, led teams etc, and I'm actually pretty good but I can't get excited about it. Maybe in 10 years I'll feel differently but I know I'm still a coder because I want to be not because I fear doing something different.
If you want to change your path and you feel fear then that's probably what you should be doing. A little fear/excitement keeps the motivation.
If you want to change your path and you feel fear then that's probably what you should be doing. A little fear/excitement keeps the motivation.