"I'll one-up you: indeed, the chance of a male writing such a book is much smaller than the chance of a female writing such a book. Acting as if gender wouldn't influence choice of content and style is ridiculous."
So what aspects of it are female specific? Because women would be more likely to worry about educating children?
Seriously, answer the question instead of relying on prejudice, please.
I'd consent that female heroines might be more likely for female authors (didn't check, though), although in this case I suspect gender of author's children might be more important.
Edit: I have to go further - sorry, but you made me think about it. Of course the odds of a woman writing such a book are significantly smaller, simply because there are much fewer female programmers than male programmers.