Your niece is a junior in high school and she’s worried about ageism?
I work in the technology field - in an even more insular subfield, video games. Very male, quite young. I…wouldn’t worry about ageism. It’s not that it doesn’t exist, but it’s more that experience and wisdom are just as valued (if not more so) than youth and vitality. There are people at my company who have been here 10, 15, 20+ years. We see the stereotype of the college dropout who started a tech company at 22, but the reason they’re so newsworthy is that they’re actually not that common. Most tech executives are the age you would expect a tech executive to be (in fact, most of the tech executives at the same companies as the college dropouts followed a more normal route).
Experience is valued. I’d recommend taking a look at any large tech company’s careers site right now; what you’ll likely notice is that there are FAR more positions for “senior” or “principal” or “lead” whatever listed than junior. Those positions are a lot harder to fill than the junior roles for the fresh grads, and people with experience often don’t have problems finding new roles in this industry (even with all the churn and start-ups closing or whatever). Yeah, you might not know the hottest programming language or whatnot that the kids are learning in school, but you’ve actually shipped something at a company or team, and THAT is much more valuable experience.
So I wouldn’t worry too much about ageism.
I often advise students to think a little more deeply into what they mean when they say they want to “help others,” as there are lots of ways to do that and medicine is by no means the only way. I work in tech, in UX research; my research focuses on accessibility, diversity, and inclusion, and I am also a people manager. I spend a lot of my time helping people, both directly and indirectly. It is immensely satisfying. Your daughter could help a lot of people in tech.
I’ll also throw out there that this is not necessarily a choice she has to make now - and, in fact, I don’t think it’s one she can make now. I don’t think BS/MD programs are worth it (for reasons already stated). You don’t have to major in anything in particular to go into either of these careers. She could major in CS and be pre-med, or she could major in something else, take CS classes, and be pre-med. She’s got plenty of time to decide - at least a year and a half, it sounds like.
One thing I will throw out there, though, is not to downplay the “long journey” con. I got my PhD, which is a shorter journey than medicine. While I don’t regret it at all, I do agree that spending 7-12+ of your prime earning (and childbearing, and youthful) years in school making very little money is…not fun. It’s something that I think only the truly passionate should pursue, personally. There are lots of jobs that have stability and a good salary and don’t require a decade of training, so unless she’s really really passionate about medicine I’d encourage her to continue exploring those other things.