I like this article by Rebecca Buckman, Men Write Code from Mars, Women Write More Helpful Code from Venus, and I totally agree. Not that I have worked with a lot of bad code per say, but comments sure do help. I like this:

They’ll intersperse their code–those strings of instructions that result in nifty applications and programs–with helpful comments and directions, explaining why they wrote the lines the way they did and exactly how they did it. The code becomes a type of “roadmap” for others who might want to alter it or add to it later.

I have definately worked with code like this:

Men, on the other hand, often try to show how clever they are by writing very cryptic code.

To be fair, I have seen great code written by both genders, and not so great code written by both. But I have worked with far more men than women programmers so it is hard to compare.