It is harder for girls than for boys. At the age of 12 you lose many girls to non-science or technology careers. Boys have some tendency to control stuff. I started as a school-age boy. I had an apple ][ clone, one manual, printed in real oil and on crappy folded A3 paper so it would appear to be double sided. Apple ][ was not raspberry pi you flip the switch and start typing BASIC. That was a major game changer for my next 2 to 3 decades. Although I am not a programmer by trade, I have a mind set as programmers do, solve problems programmatically. It is important for my career too. If we didn't have that apple, I would be a lot less inclined to write programs. I consider a manual very important, even if it is riddled with mistakes. I learned my basic by typing in the program samples in the book and modifying it. That was the late 80s, no internet for me until another decade. Gaming encouraged me to learn more about computer and programming. You wonder if pirating has and upside?
Just see how many windows pc are out there. I wonder if we can make projects to incorporate raspberry pi with popular kids games. Use that and science fair and school projects to get kids more exposure.
After I learned BASIC, I tried hard to find any project where I can make use of my skills, nothing. Instead, I made transformers from the animated series (they all transform) and fixing bikes with my dad for a while until more opportunity presented to me, i.e. a PC. Again this is irrelevant now. Show them results from YouTube, see if they want to learn.
Arduino data loggers, user interface, printed circuit board designer since 2009, RPI 3B 2B 2B Zero Jessie, assembly/C/C++/java/python programmer since the 80's