Definitely easier now for the kids though - I've met 9 year old girls lately who are rocking python/robot dev and if they can stay in all-girl schools through secondary school (or have a very female-supported CS dept if mixed) they'll have good chance of staying in STEM.
I also have to say, because this is fairly recent for me, I've become less and less of a dev myself and more management and I'm having a blast. My years of dev has really gelled with the demands on product development and I very much enjoy the dynamics of running a team - something I never thought I'd find interesting. So it's something quite new for me, and as I know it's more common to see women building a career in management rather than thank of themselves as part of the coding team but I can see clearly how having more dev experience just makes you all the stronger. Might be a compelling argument for those going through school with their eye on an executive position for their future.