Do women write better code?

June 17, 2008 – 9:08 pm by Adnan Hodzic

Yesterday I bumped into something really interesting on Slashdot. So in case you missed this one …
Do women write better code?

The senior vice-president of engineering for computer-database company Ingres-and one of Silicon Valley’s highest-ranking female programmers-insists that men and women write code differently.

Women are more touchy-feely and considerate of those who will use the code later, she says. They’ll intersperse their code… 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, says McGrattan, a native of Ireland who has been with Ingres since 1992.

Men, on the other hand, have no such pretenses. Often, “they try to show how clever they are by writing very cryptic code,” she tells the Business Technology Blog. “They try to obfuscate things in the code,” and don’t leave clear directions for people using it later.

We are different kind from each other, but it was interesting to read this. What I can definitely say is … true, I’m a man Smile

Only part about being a man and writing code, is that after “They try to obfuscate things in the code” most of your clients/later users don’t even to figure/find out everything you did, but what matters is that it was good, to you Smile

  • BrencelJ

    hahahah ok so I as a man am like this ok than why the hell do I write way to much comments he he he. But yea people write there code differently so I don’t thing that women write it the same all of them there are women which write like men and man that write like woman so this is just a one point of view he he.

  • change

    heh…
    i know i’m writing on an old post, but i had some s*** i needed to take care of..

    so now that i have time…

    i never write comments in my code..never…
    i kind of know what i wrote and what it means, and it’s enough for me..

    or maybe because i like to name the variables/methodes/classes as much descriptive as i can, so when someone else reads my code, comments aren’t even that necessary..

    anyway…
    what maters is that the code is good and that it does what it’s supposed to..the way you write it is just irrelevant Smile

  • Heh, this is indeed interesting. It makes sense, it is in women’s nature to guide and to explain things, while men on the other hand, love to show off. When asked for explanation, you guys just love to give confusing answers with lots of numbers in ’em? Dont ya?

    Cheers Smile