Female sourcecode better than male?

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, June 09, 2008

Follow me on Twitter as @mattiasgeniar

In between statements like “who don’t men ask for directions” and “why are women always right (in their mind)?", there’s a new kid on the block: do women write better, more understandable code, than men?

Emma McGrattan, female programmer, seems to think so.

Emma McGrattan, 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–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. (source)

She goes on explaining that men will try to write complicated code, to show off their intelligence, while women will document more, so others working on the code after them – would find it easier to get started.

Why do men write complicated code? Sure we like to brag, but don’t we all? I’m guessing we write more cryptic code, because we believe it to be more efficient, saving us 0.000001ms in compiling and executing time.

Does anyone have examples of “typical code” written by a male or female? Standard, daily scenes that are programmed – i’d be more than happy to read the differences :-)



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.