As a kid, I'd really wished there'd been more mentoring, education, and general support available for young hackers. I would have been seriously pissed about discrimination -- and I daresay rightly so -- if exactly the sorts of things I wanted to participate in had existed, but had been closed to me because I was the wrong race (white) and gender (male).
That, in a nutshell, is the problem with the "get girls to code" idea. "Get young people to code" is a better idea, since it's more inclusive.
It's always seemed strange to me how many people seem to think that the right way to solve discrimination is with more discrimination, just in the opposite direction.