I remember back in school, students use to say in a tiring tone, "Engineers and computer scientists must always keep apprised of new technologies and keep their skills up to date. If they don't they will be at risk of being laid off. It's easier to be something like an accountant because an accountant only needs to learn a finite number of things (things that haven't changed over the last several decades) and still make lots of money."
Luckily for me, I do enjoy learning new technologies. And I find that picking up a new technology isn't difficult because it always seems to be an extension of what I'm already use to. I have seen more senior friends lose their job because they command very high salaries but also do not apply "modern best practices" in software development. They also never climbed the corporate ladder or became a project manager.
Does a profession in technology require more ongoing learning than say an accountant? or a dentist? or a regional sales manager? etc...