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 :)
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 :)