So, your working hypothesis based on that comment is that they're an otherwise friendly and fair-minded person, but when they see that a woman wrote a blog about programming they feel the need to go out of their way to write a comment telling them to stfu?
Anything's possible, I guess. But, based on my particular lifetime of experience with people, jerks are usually jerks in multiple aspects of their life.
You can be cruel without being sexist, and you can be sexist without being cruel. Every time sexism comes up, comments like this get trotted out. These people are bottom-feeders. They have no ability to affect anything in their own life, so they make hurtful comments on the internet to try and affect others, just so they can feel like they're in control of something.
Stamping out sexism isn't going to stop them from doing that. They're not reading these articles or these comments. If they are, they're just happy that someone is paying attention to them.
I think there are far bigger fish to fry when it comes to fighting sexism than going after some basement-dwelling mouth-breathers who don't actually matter. You could actually focus on normal, good-intentioned people who have just been brought up in a culture of sexism and would happily change if it were pointed out to them how they're hurting others.
edit: I shouldn't say they "don't matter" as I've never been on the receiving end of it, and it probably matters a great deal when you are. I just meant that the ability of these people to affect someone's life beyond making hurtful comments on the Internet is minimal.
Anything's possible, I guess. But, based on my particular lifetime of experience with people, jerks are usually jerks in multiple aspects of their life.