There is a lack of role models because there is a perception among the younger generation of women that programming is not a creative endeavor, which makes a lot of women away from learning programming. The society's portrayal of programmers as geeks or beta males does not help either. People are the sum total of the 5-10 people they closely associate with, and most girls do not find their friends wanting to be programmers when they grow up. Peer support, role models, are key. When women like Sheryl Sandberg of Facebook start showing up on TV and the idea of successful women in technology is portrayed to be appealing, you will slowly find women taking more to technology jobs.