Sure lawyers have to catchup with changing laws and doctors need to catchup with new medical breakthroughs but I doubt it is as much drinking from the firehose as programming is.
If programmers had similar gatekeeping, the union would make sure everyone had access to training from time to time.
Catching up is hard, but it is also "gym for your brain". Plenty of people grow complacent and mentally lazy, because they do not face any additional demands over their careers. It is even possible that mental training postpones dementia.
Thats what I tell myself as the saving grace (sometimes it is indeed a lot of fun).
Honestly, if you are a smart American kid who likes research get an MD and/or an MD/PhD. That way you aren't competing with the foreign grad student labor pool. The MD is the golden ticket. Of course if you hate medicine it isn't.
Lawyers are more variable and a lot of the work is rote contracts.
Programming is more of the wild west since you can practice without a license as they say.
Where are you getting that from? Parents and teachers still push for doctor or lawyer for smart kids. Only if doctor or lawyer is unattainable would they suggest programmer. Furthermore, everybody still perceives doctors and lawyers to have higher status than programmers. Just look at TV shows from the 80s vs recent years: The high prestige characters are still doctors and lawyers, and also business leaders, sports figures, and military, but never programmers or engineers.