If you're a developer, think of what difference 5 years makes. 5 years ago Rails was just a blip on the radar of web frameworks. 5 years ago, JQuery had not been released. 5 years ago, the Motorola Razr was a high end mobile phone.
So much can change in 5 years that your skills could be completely irrelevant. I couldn't blame anyone (man or woman) from switching careers completely after a multi-year hiatus. IT moves quick and the barrier to re-entry can be very high.
What I love about any statistics-based argument or complaint regarding gender differences is that they always seem to start from a mindset that there are NO differences, physically, between males and females. Then they see a difference somewhere in their statistical data set (a 17% versus a 31%, or a 57% versus an 80%) and suddenly the hunt is on to try to find some way we can blame the difference on sexism or a conspiracy of some kind. It's like, "Hello, did you get the memo? Can we say: Breasts! Babies! Different body parts in the nether regions! Brain structure differences! Skeletal! Different hormone mix! Metabolism diffs! Maturity rate diffs! Aging diffs! Hello!"