Slashdot Mirror


Do Women Write Better Code?

JCWDenton writes "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. "

170 of 847 comments (clear)

  1. Do women write better code? by Anonymous Coward · · Score: 4, Funny

    I don't know, I've never even seen a woman programmer. And I work in the field. I bet nobody on Slashdot has either. (this is a joke!)

    1. Re:Do women write better code? by Anonymous Coward · · Score: 5, Funny

      I haven't seen a woman (live one that is). Nor sunlight.

    2. Re:Do women write better code? by eclectro · · Score: 4, Funny

      The day I see a female programmer is the day I see my VCR tell the right time.

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    3. Re:Do women write better code? by ronbo142 · · Score: 2, Insightful

      Many years ago when I wrote COBOL the guyes who wrote ALC would say.... "The applications was hard to write so it should be hard to understand." "Only wimps document." "Job security, what a concept." I have some more but will hold in reserve for later use. Ronbo

      --
      Semper Fi Ronald Ausman USMC Ret
    4. Re:Do women write better code? by ThePengwin · · Score: 5, Funny

      live one that is

      That kinda scared me a little.....

    5. Re:Do women write better code? by wtfispcloadletter · · Score: 5, Interesting

      I've seen 1, ever, a DB programmer, she was supposedly good. Heard of a few others through the grapevine, but only heard of them because how utterly useless and cruddy their code was. Just like I've heard of a few male programmers that I've never met. The phrase "complete rewrite" kept coming up from my associates after they (females and males) were canned.

      Oh, wait, I have met a few others. They were no longer coding, they somehow had left the field and had a change of careers (working minimum wage jobs through a contract agency...) Actually, no different than after the big dotcom bubble pop and I met several (male) "network admins" who were (and still are, 7? years later) driving delivery truck. Seems they can't find a job in their field of choice again. I think the companies were looking for any excuse to let them go as these guys were from some very large manufacturing companies that really weren't effected by the dotpop.

      Seriously, how many women, percentage wise compared to men, are in the field? How can they come up with some stat that says women are better programmers if you've got (pulling number out of air) 1 woman to every 1000 men in the field? How about a statement like "a percentage of women who become programmers and are successful at it (as in my experience a lot are not, but that's no different than men), tend to be better programmers than men"

    6. Re:Do women write better code? by paeanblack · · Score: 5, Insightful

      I've seen 1, ever, a DB programmer, she was supposedly good.

      Inept male programmers have an easier time hiding in the crowd. Inept women programmers can't.

      Because of this culling effect, the women that are still around are, on average, more capable.
      Industries dominated by women have a similar effect. The males end up being better because they need to overcome the inherent prejudice to get the same performance review.

    7. Re:Do women write better code? by Anonymous Coward · · Score: 2, Interesting

      You have something against taxidermists?

      Yeah, that was too much, even for me, definitely gonna go AC.

    8. Re:Do women write better code? by beav007 · · Score: 4, Insightful

      Only if it has stopped.

    9. Re:Do women write better code? by eclectro · · Score: 2, Insightful

      1)Nerds are inherently lazy at replacing seldom used tech. It just stays in place until it gets in the way.

      2)Nerds don't need their VCRs to tell time or record with. They use a HTPC.

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    10. Re:Do women write better code? by Jerajdai · · Score: 5, Insightful

      I know your post is a joke, but on a serious note ...anybody with a computer science background knows at least one female programmer. Matter of fact, she's the first programmer ever -- Lady Lovelace.

    11. Re:Do women write better code? by hvm2hvm · · Score: 3, Insightful

      And if you live in that twisted world of AM/PM.

      --
      ics
    12. Re:Do women write better code? by tritonman · · Score: 4, Funny

      Sorry ladies, but I work with 3 women coders, and I have to redo their stuff all the time! So much freakin' copy and paste junk code, classes that are 10k+ lines long, learn object oriented programming already!

    13. Re:Do women write better code? by COMON$ · · Score: 4, Interesting
      You are making an odd comparison here. The gen of dotcom grads werent necessarily computer people. They were people who saw a wave and tried to ride it. Back in those days the suits were grabbing anyone who was even remotely connected to technology and making them admins for code and networks. Some of these people fooled administration and stayed on as IT people, graduated to management before anyone noticed that they had no skill whatsoever.

      As for female programmers, I was a CS tutor at my university growing up and I can state from experience that any female that was able to make it through CS 101 was a much better programmer than their male counterparts on average. Unfortunately these females were all on the education path so they didn't go into dev work.

      Interesting sidenote; the females that didn't make it did cry a lot more but would forge on, the guys just threw hissy fits when they couldn't get concepts and drop the class. Maybe there is a bit to the female capacity to persevere and the male stubbornness :)

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    14. Re:Do women write better code? by russotto · · Score: 2

      I know your post is a joke, but on a serious note ...anybody with a computer science background knows at least one female programmer. Matter of fact, she's the first programmer ever -- Lady Lovelace.
      I understand there's a lady named Hopper who was well-known for debugging. She was an admiral, too.
    15. Re:Do women write better code? by Skye16 · · Score: 4, Funny

      I'm more likely to put a piece of black tape over it (someone else's). Mostly because that solution can withstand power failure :]

    16. Re:Do women write better code? by bberens · · Score: 3, Interesting

      You neglected to mention the quality of code which comes from the women in your group. You did mention that the CEO was a woman in a way that a reader might assume indicates that the only reason you have women coders is because you have a woman CEO. At the shop I work in, we have one woman coder on staff and currently one woman contractor. Both of them write code which seems to be on par with the rest of the staff. I do agree with the comments in the summary though, whenever we get a 'hotshot' programmer in here it seems like they try to make the most complicated solutions to simple problems.

      --
      Check out my lame java blog at www.javachopshop.com
    17. Re:Do women write better code? by Evanisincontrol · · Score: 4, Insightful
      First, I think you chose a poor example, because I think a vast majority of Slashdotters can't name a single "famous flautist", male OR female.

      Second, your supporting data makes no sense. Why are you asking about names of famous flute players and comparing to the stats of high school flute players?

      It's not guaranteed obviously, but there are data points to support some correlation.
      Those data points may exist, but you have not demonstrated them anywhere in your post. There is no direct correlation between high school flute players and famous flute players unless you can show data that says otherwise. (Such as, "80% of famous flute players played flute in high school", or similar).
    18. Re:Do women write better code? by Hyppy · · Score: 3, Insightful

      Whoah, when did this discussion go from geeks to nerds?

    19. Re:Do women write better code? by Dopeskills · · Score: 5, Funny

      live one that is

      That kinda scared me a little.....

      Apparently Hans Reiser is now posting as AC.
    20. Re:Do women write better code? by Joebert · · Score: 2, Funny

      What you don't realize is that they just program in a higher level language, and based on your comment your coworkers are very good at it.

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    21. Re:Do women write better code? by SirLurksAlot · · Score: 4, Informative

      I've always held Grace Hopper in high regard myself. She was involved in the development of the first compiler for COBOL, as well as the language itself. She also pushed for standards in computing, and is at least partially responsible for the term "bug" in software. On top of all that she was a Rear Admiral in the Navy. What more could you want in a woman? She was truly one of the greatest female geeks in history.

      --
      God, schmod. I want my monkey man!
    22. Re:Do women write better code? by Bloke+down+the+pub · · Score: 5, Funny

      You've clearly never used COBOL.

      --
      It's true I tell you, feller at work's next door neighbour read it in the paper.
    23. Re:Do women write better code? by PReDiToR · · Score: 2, Funny

      Epic fail.

      Duct Tape is like the force, it has a light side, a dark side and binds the universe together.

      --

      Do not meddle in the affairs of geeks for they are subtle and quick to anger
    24. Re:Do women write better code? by SirLurksAlot · · Score: 3, Insightful

      Heheh, unfortunately I have.

      A lot of people feel the same way about COBOL, but for a language used in more than 80% of the world's businesses it's done pretty well. Say what you will about it, but it has been very influential, and was groundbreaking in its time.

      --
      God, schmod. I want my monkey man!
    25. Re:Do women write better code? by cjb658 · · Score: 5, Funny

      Sorry ladies, but I work with 3 women coders, and I have to redo their stuff all the time! So much freakin' copy and paste junk code, classes that are 10k+ lines long, learn object oriented programming already! So basically, they hand it to you and tell you to take out the garbage?
    26. Re:Do women write better code? by cjb658 · · Score: 2, Insightful

      Sometimes using a VCR is better than using a computer.

    27. Re:Do women write better code? by Nightlily · · Score: 4, Insightful

      That's good to know. Some of the comments starting making feel like I was a unicorn.

      Yeah I know a female programmer - me.

      I've known good female programmers and have met a few bad ones (like a database programmer who claimed joins were impossible). I can say the same thing for my male colleagues.

      As far as commenting goes, it depends on the programmer.

    28. Re:Do women write better code? by nuzak · · Score: 2, Informative

      > and is at least partially responsible for the term "bug" in software

      No she is not. The term goes all the way back to Shakespeare, and was in common use in Edison's time. The fact that she even made such lasting mention of the real bug stuck in the relay was because everyone was already likely to get the joke.

      --
      Done with slashdot, done with nerds, getting a life.
    29. Re:Do women write better code? by story645 · · Score: 2, Insightful

      Totally depends on the person. I have a friend who writes awful, incredibly buggy, code 'cause he only cares about it working. OTOH I think about all the possible uses for my code, exponentially increasing my coding and testing time-but my code is clean, a lot less buggy, and a lot more usable.

      --
      open source modern art: laser taggi
    30. Re:Do women write better code? by JebusIsLord · · Score: 2, Insightful

      My best computer science prof (who taught us OO, via Java), said a few things that really stuck:

      1) Don't be clever! If you have to be clever, write a ton of documentation as to why you did it the way you did it.
      2) Don't optimize (unless you must), and even then, leave the unoptimized (readable) code commented out. And only optimize the code blocks than a profiler tells you to... there is no point optimizing a loop that runs once.

      I actually don't understand how some people can write such obfuscated code. I write comments like there is no tomorrow because in 2 days, I won't know what it does any more than another developer would! Refactoring is a bitch, or impossible, when you don't understand what you've written.

      Anyone who writes code like a "hotshot" is anything but.

      --
      Jeremy
    31. Re:Do women write better code? by Fex303 · · Score: 2, Funny

      The day I see a female programmer is the day I see my VCR tell the right time.
      Just stay up till midnight sometime.
    32. Re:Do women write better code? by Bloodoflethe · · Score: 4, Funny

      Back when I wrote code, I would, when writing for myself, not document a damned thing. However, if i wrote for general purposes I would explain each section in a large amount of detail. I would even point out what kind of problems that cutting out a particular section of code would cause.

      Hello, I'm Bloodoflethe, and I write code like a girl. *cries*

      --
      "Little is much when little you need."
    33. Re:Do women write better code? by somersault · · Score: 4, Funny

      He should maybe change his name to Java

      --
      which is totally what she said
    34. Re:Do women write better code? by m.ducharme · · Score: 2, Funny

      given yesterday's article on the Denon RJ-45 ethernet cable, I'm not sure if you're serious or joking...I wonder if I could start selling old VCRs for $4000+ to videophiles...

      --
      Rule of Slashdot #0: You and people like you are not representative of the larger population. - A.C.
    35. Re:Do women write better code? by somersault · · Score: 3, Interesting

      And are you saying that it says something negative, or that it shows that this person understands how society currently operates, whether you like it or not? ;)

      I think there will be women who write better code than some men, and men who write better code than some women. Obviously most of the coders in the world are male though, that is just how it has turned out so far.

      I have only met one woman who I know must have been a half-decent coder. She often got among the top marks in all of our classes at University, and obviously put more effort in than most, as well as being bright, so I expect her code must have been okay. And then again there was another girl in our classes, who once came over and tried to get me to basically do her assignment for her. I politely tried to help her along without actually giving her the answer (as I think any good teacher would/should do when asked for help), but could tell that she didn't actually care and was just trying to get me to do it for her, so I eventually got pretty pissed off and thankfully she just took the hint and moved on to the next unsuspecting sex-deprived geek. I was confused as to why someone like that would even do Computer Science at University level.. and how she managed to get so far. She probably was quite bright too, but just lazy.

      Anyway, anecdotal evidence can always be found to argue one way or the other, it doesn't mean much at all. I have met plenty of smart guys and girls, and plenty of dumb ones. This article is just flame bait. I would say that I believe that women in all societies are naturally more empathetic and considerate, for whatever reason, but I personally comment my code or try to make it as obvious as possible what is happening with sensible variable names, etc. Not all guys are macho jerks out to show that they are 'smarter' than the rest. In fact I'd say the truly smarter guys are the ones who are sensible enough to write their code in a way that it can easily be maintained by themselves or others in future. I know I've come back to my code after weeks/months and been like wtf!? I then proceed to delete a line of code that looks like it is completely extraneous, only to find that a completely different section of my program relies on it being there, it's just that everything has been modified so many times (either through my own fault or by management always asking for things in the program to be changed far beyond the original agreed implementation..) that it is in a mess.

      --
      which is totally what she said
    36. Re:Do women write better code? by Dun+Malg · · Score: 2, Funny

      Shut the fuck up. You know what he meant. No need to thank me, citizen, just doing my part to spead Literacy, Justice, and the American Way!

      (cue heroic music)
      --
      If a job's not worth doing, it's not worth doing right.
    37. Re:Do women write better code? by KillerBob · · Score: 2, Interesting

      Back when I wrote code, I would, when writing for myself, not document a damned thing. However, if i wrote for general purposes I would explain each section in a large amount of detail. I would even point out what kind of problems that cutting out a particular section of code would cause.


      I generally can't stand code that was written by a male... specifically because it's not usually commented, or when it is commented, it's stuff that is relatively useless, like:

      //hope this works


      There are people who break the mold, though... when writing for myself, I don't generally comment it. My coding style hasn't changed in a decade, and I have a damned near eidetic memory. I can look at code I wrote 10 years ago, and still understand how it works and not need comments. When I'm writing for somebody else, I'll comment the bejeezus out of it, just like the story claims. *shrugs* I've been known to pull out examples of code I wrote a long time ago and spend time adding comments before I pass it on to somebody who needs it. :)
      --
      If you believe everything you read, you'd better not read. - Japanese proverb
    38. Re:Do women write better code? by tritonman · · Score: 2, Funny

      yes, if you consider ctrl+c and ctrl+v as a higher level language.

    39. Re:Do women write better code? by hedwards · · Score: 2, Insightful

      I'm still trying to figure out what TFA has to do with anything. The reason why people hire computer scientists is usually because they're supposed to understand about documenting, when to use a library, when to write a library, how to format the code and how to set it up for proper maintenance later. I'm sure there are more reasons than that, but anybody who has been through a reasonable program has had their profs banging those into their heads for however long it took to stick.

      Women may or may not comment code by nature, but comments and organization are hardly things which cannot be learned. And it's hardly an innate gift of females to do this all the time. I'm willing to bet any sum of money that there are at least a few out there that don't.

      And the fact of the matter is that it's easy to learn to comment and format things, it's far more difficult to learn how to code in an efficient and reliable manner. Comments and formatting help a lot, but you can still sort of spaghetti code even with comments and organization, it's just organized and formatted crap.

      I'm really not a very good programmer at all, I rarely finish anything. The only reason why anything I code ever works is that it's formatted in a way that allows me to find the myriad errors. If I couldn't do that, I wouldn't even be a bad programmer.

    40. Re:Do women write better code? by Gromius · · Score: 2, Funny

      whoosh.

      I think the parent was inferring that they used a high level language with a compiler that took their rough code which indicates their general intension and produced something fast efficient and compact which did exactly what they wanted to do with minimal effort on their part, mainly because the compiler subconsciously wanted to sleep with them. I have certainly been such a compiler before, damn woman, they're too good at this programming milarky. They are very good at selecting the right tool for the job :)

    41. Re:Do women write better code? by llefler · · Score: 4, Insightful

      2) Don't optimize (unless you must), and even then, leave the unoptimized (readable) code commented out. And only optimize the code blocks than a profiler tells you to... there is no point optimizing a loop that runs once.

      I generally agree, with one comment. Don't leave commented code unless it is well documented WHY you are leaving it. In this example I think I would prefer that a good explanation of the purpose of the section rather than leaving the unoptimized code. The reason is that over time there is a good chance that someone will modify the executing code, but not the commented code. I've worked on a number of projects where code was commented out with a note // fixing xxxx problem, or // removing yyyy option. When someone comes back to work on it later it really tells them nothing. A better solution is to remove the code and let the CVS do it's job.

      --
      It is amazing what you can accomplish if you do not care who gets the credit. -- Harry Truman
    42. Re:Do women write better code? by NeoSkandranon · · Score: 2, Insightful

      counterpoint: An inept woman programmer is going to be FAR more difficult to get rid of, as it is automatically a gender issue if she chooses to push that angle.

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    43. Re:Do women write better code? by c0d3h4x0r · · Score: 2, Funny

      First, I think you chose a poor example, because I think a vast majority of Slashdotters can't name a single "famous flautist", male OR female. Not true, I'm a great flatulist.
      --
      Moderator hint: a comment is neither "Flamebait" nor "Troll" if it is true.
    44. Re:Do women write better code? by Flagran · · Score: 3, Interesting

      I know exactly what you mean... I work in a small shop with seven developers: four men, three women. I'm the senior developer, so I review everyone's code. We're all so different from each other, I don't think there's a single thing where I could say "the men all X" or "the women all Y", or even "only the women X" or "only the men Y". I can't even think of anything where I'm tempted to say "the men tend to X" or "the women tend to Y". Although --- believe you me --- I could certainly pick out each individual and say what kind of tendencies they have. I know seven is very small sample, but it just gives me the impression that someone's gender is a very poor predictor of their coding style.

      --
      Make love, not sigs
    45. Re:Do women write better code? by thewesterly · · Score: 2, Funny

      No need to thank me, citizen, just doing my part to spead Literacy, Justice, and the American Way! Literacy and Justice are part of the American Way again?
    46. Re:Do women write better code? by Reziac · · Score: 3, Funny

      Easily explained. Today the girls got mod points.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    47. Re:Do women write better code? by JebusIsLord · · Score: 3, Insightful

      That's a good point... In this day and age it probably makes more sense to:

      a) Write it the easy-to-understand way.
      b) Write some really good unit tests (100% or greater code coverage.
      c) Optimize the hell out of it, and make sure the tests still pass.

      The unit tests work as a form of documentation, as well as for regression testing. a and b can of course be reversed, if you're into that sort of thing. I usually do a bit of both.

      --
      Jeremy
    48. Re:Do women write better code? by joggle · · Score: 2, Insightful

      I generally can't stand code that was written by a male That's a bummer since the great majority of open-source code is written by guys. Why that is, I'm not sure. I would guess that it's because guys tend to like to tinker in their off-time whereas girls usually want to do other things. Note I didn't say all girls or all guys, just commented on the trends.
    49. Re:Do women write better code? by cayenne8 · · Score: 2, Funny
      "I think you mean "snatched up".

      I dunno...I think if you start mentioning the word snatch too much in the work place associated with women, you're gonna get slapped with a lawsuit, and fired pretty quickly...

      :-)

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    50. Re:Do women write better code? by Joebert · · Score: 2, Funny

      Let's just say their man pages are on a whole 'nuther level.

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    51. Re:Do women write better code? by balleyne · · Score: 2, Informative

      Inept male programmers have an easier time hiding in the crowd. Inept women programmers can't. There is an xkcd comic for everything in life.
  2. Remember: Sexism's Only Alright If It Favors Women by eldavojohn · · Score: 5, Insightful

    "They try to obfuscate things in the code, and don't leave clear directions for people using it later." Excuse me? "Try to?" Like, it's on purpose?

    I've seen all genders write obfuscated code--but it worked. And every single time it was because we were under the gun for a deadline or there was simply no other way to do it. It's preposterous to even try to sound like you have empirical data supporting this blanket assessment.

    There's a big need to fix testosterone-fueled code at Ingres ... Even in my state of extreme naivete about what is going on at Ingres, I would suggest you first dump efforts into your supporting teams to help your developers out ... like your systems engineers, test teams, database teams, etc. What McGrattan is accusing men of is just bad documentation. Anyone can suffer from this and anyone can do it expertly.

    I could combat her anecdotal subjective statements (probably describing herself) with my own anecdotes or go on a rant about how many of the great programmers are men (like Donald Knuth and his 'literate programming') but what's the point? Men can be just as meticulous as women can at providing good documentation and women can be just as sloppy.

    It's good to have a healthy mix of diversity and I wish that programmers were 50/50 split on gender (trust me, I really really do) but it's not because women are better than men at coding. Prime example of American sexism in one of the few forms it exists today.
    --
    My work here is dung.
  3. well, hire a bunch of women by Anonymous Coward · · Score: 5, Funny

    and see how harmonic they all work together

  4. yeah yeah... by mactard · · Score: 5, Funny

    Men's code is sexist and demeaning whereas woman's code will marry you for the divorce settlement.

    1. Re:yeah yeah... by Xiaran · · Score: 5, Funny

      If it was difficult to write it should be difficult to understand.

    2. Re:yeah yeah... by Xiaran · · Score: 4, Insightful

      Wooooo there cowboy. It was an old hacker joke. Like all the old "Real Programmers..." jokes. Like real programmers dont need debuggers, they just read the core dump. With cat.

      Also I have nearly 20 years of professional software development. You wound me sir.

    3. Re:yeah yeah... by bsDaemon · · Score: 2, Funny

      So, just like women, right?

      Maybe that's the key after all!

  5. Women aren't good programmers by larry+bagina · · Score: 5, Funny

    they freak out everytime they miss a period.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

    1. Re:Women aren't good programmers by Anonymous Coward · · Score: 5, Funny

      Believe me, guys freak out when women miss a period also.

    2. Re:Women aren't good programmers by larry+bagina · · Score: 5, Funny

      eh, just control-C to abort. If that doesn't work, try a kill -9 months.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

  6. Wow, What A Revelation. by blcamp · · Score: 5, Funny


    "Men and women think differently."

    This is such shocking news. Unbelievable.

    --
    The problem with socialism is that they always run out of other people's money. - Margaret Thatcher
    1. Re:Wow, What A Revelation. by Evildonald · · Score: 3, Insightful

      It's also good to see that they can think the same. Both can spew sexist rubbish.

    2. Re:Wow, What A Revelation. by omfglearntoplay · · Score: 2, Insightful

      " "Men and women think differently." This is such shocking news. Unbelievable." People would rather believe in stereotypes than measure the actual individual. This is such shocking news. Unbelievable.

    3. Re:Wow, What A Revelation. by Per+Wigren · · Score: 4, Insightful

      The variation among the individuals of a gender is bigger than the difference between the genders.

      --
      My other account has a 3-digit UID.
  7. Simplistic? True? by neapolitan · · Score: 4, Insightful

    Inflammatory short article to "sex things up" (pun intended); surprising for the WSJ (or maybe not.) Written by a Rebecca Buckman, quoting Emma McGrattan at database company Ingres.

    Any such broad classifications such as this should be taken with a *lot* of salt.

    That being said, the article reminded me of a large digital systems design project that I had back in college, writing assembly for a 6502 processor in a device we made. My lab partner was a girl (probably only 10% of the class was female) who really, really thought differently than me in a way. It was weird -- some of the things I thought were impossible or not worth doing she would code in 10 hours; and the reverse was true. It was pretty much pure synergy (forgive the cheesy phrase) and we were extremely productive and got along well.

    However, to reduce anything like this to gender differences is almost nonsensical. I could have been good lab partners with any number of people that thought differently than me, male or female. Personality is complex, not binary. I know many girls that code beautifully, and many more that can not code at all. This article is kind of interesting cocktail conversation, but nothing more IMHO...

    --
    Slashdotter, ID #101. UIDs are in binary, right?
  8. Since the whole article is based on anecdotes... by Zarhan · · Score: 4, Insightful

    My friends include a woman who writes 100-line SQL statements embedded in a perl-script. You need a magic decoder ring just to see what's there.

    A male colleague, OTOH, likes to write code in style such as

    for (unsigned int i=0;ij;i = i + 1) // Loop counts from i to j, with increments of one
        { .... } ...and no, his job does not include teaching basics of programming.

    There, I've the counterpoint for the article with my own biased view!

  9. Re:Remember: Sexism's Only Alright If It Favors Wo by Savage-Rabbit · · Score: 4, Funny

    Excuse me? "Try to?" Like, it's on purpose? I had these doubts to ... then I was introduced to Perl.
    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow
  10. Re:Remember: Sexism's Only Alright If It Favors Wo by TitusC3v5 · · Score: 5, Funny

    This article told me I code like a woman. I knew playing all those female characters in RPGs would come back to haunt me.

    /cry

    --
    And the masses cried out, "09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0!"
  11. That's not why! by 91degrees · · Score: 3, Interesting

    Often, "they try to show how clever they are by writing very cryptic code," she tells the Business Technology Blog.

    Yeah... the advice to add comments explaining why and how is good, but how about you stop telling us what we're thinking and what our motivations are. If I do do something "clever", I'll sure as hell make it clear how it works and why I did it. And the reason for it is because it's the best way to do things. I don't have to prove anything.

    1. Re:That's not why! by SQLGuru · · Score: 2, Insightful

      My code is only cryptic if it's submitted to a contest like this one: http://www.ioccc.org/ or if performance is critical.

      This day and age, the few extra cycles to do something in a more readable fashion are worth it for most tasks. If performance is critical, those rules are out the window and it can get pretty hairy. But those are also the times when you write novels for your comments to let others know what's going on and why it was done.

      Layne

  12. Re:Remember: Sexism's Only Alright If It Favors Wo by notnAP · · Score: 3, Insightful
    [It's a] Prime example of American sexism in one of the few forms it exists today.

    What's a prime example? The fact that coding is a male dominated workplace? Or that someone can make blanket, derogatory statements against a group of people based on their sex/race/religion and get away with it?

    Never mind, actually. I'd agree either way.

  13. Not my experience by Hyppy · · Score: 5, Interesting

    I know the plural of "anecdote" is not "data", but in my experiences this is far from true. I have found female coders in my jobs to be downright malevolent in their coding. All women I have worked with that write any sort of code obfuscate the hell out of it, document absolutely nothing, and will barely explain how to even use their product. If everything is not run "their way", then it seems like armageddon.

    Case in point. We have a coder who wrote an application for our office. Because of the fact that she refused to use any variable for the Program Files folder (hard coded as "c:\Program Files\") and she insisted that all workstations need a D: partition (to hold a 100kb support file), we had to rebuild 4 servers.

    Say what you will about women coders being "touchy feely." I won't fall for it, any more than the NOW propoganda that all women are natural caring mothers, even the coked out alcoholics.

    1. Re:Not my experience by risinganger · · Score: 4, Insightful

      I know female coders as well and they don't do crap like that. I think your company needs to follow the same advice given elsewhere in this thread and hire better programmers.

  14. no question, they code much differently by Anonymous Coward · · Score: 4, Funny

    And if I ever come across a woman programmer, I'll prove it.

  15. I write code like that guy by wiredog · · Score: 4, Insightful
    Partly because the comments start out as the design, to which I then add code.

    I also comment obsessively because I want to be able to come back to the code a year later and know, quickly, what I did and why I did it.

    Many years ago I was porting someone else's C code from 16 bit to 32 bit and came across "//Why did I do this?" at the top of a couple hundred lines of uncommented code that had multiple embedded while anf for loops, with a pow() and a couple of sizeof()'s in there. I had to print it out and trace it by hand to figure out what he'd done, and why. Took awhile.

    Too many comments can be ignored, too few can give you heartburn.

    1. Re:I write code like that guy by jmnugent · · Score: 4, Insightful

      ..."and its not obvious at first site" The problem with this line of thinking is that everyone has a different definition of "obvious". (whats obvious to you, may not be obvious to others, and vice-versa) I'm not saying code should be commented until its longer than "War and Peace".. but descriptively succinct comments can go a long way to helping others understand 1.) your code segments overall goal, 2.) the basic logic, 3.) the expected output and 4.) what it means (and what you might do) if you dont get the "expected output" ./grain of salt - I'm not a programmer (but trying to be one), and hate, hate, hate unnecessarily obfusticated code. Its OK to write great code. Its not OK to act elitist and expect others to automatically understand it.

    2. Re:I write code like that guy by gmack · · Score: 2, Insightful

      What if the code doesn't match the comments? Is the code correct or the comment?

      What if the comment doesn't match what the code does and is obfuscated? Your never going to tell where I screwed up.

      There is a lot more to writing readable code than just adding comments. In fact, I've come across a lot of code where the comments weren't any more helpful than the code was in the first place.

      Much more important than good comments are: Using descriptive variable names not overusing language shortcuts. Not overusing order of operation. Isolating complicated code into it's own functions and keeping functions short and to the point instead of trying to do 15 things in a function.

  16. Bad programmers methinks by tomalpha · · Score: 4, Insightful

    "They try to obfuscate things in the code"

    Forget a male/female issue. I think she needs to hire better programmers period. Anyone in a professional code shop that's deliberately trying to write obfuscated code shouldn't be there and she's not doing her job properly if she's not firing them or getting them into remedial classes of some kind.

    1. Re:Bad programmers methinks by cptnapalm · · Score: 4, Funny

      "she's not doing her job properly"

      See, that can't possibly be it. Didn't you watch all those 80s after-school specials? Have you not watched all those female empowerment action movies?

      *Sigh*

      All women, everywhere, regardless of age, height, weight or any other consideration are absolutely fantastic at everything they do. All women are at least above average intelligence, though most are in the genius category. Obviously, since she is a woman, she is doing her job brilliantly!

      I mean look at all the uplifting, empowering stories that show how amazing women are. Can a 300 pound linebacker be flattened by a 95 pound girl? Of course! As long as she believes in herself!

      But there is danger out there. What if a woman does something and someone says that it is not very good. That would hurt her self-esteem! Since we've already proven that women are indeed capable of doing everything far better than men, this attempt to hurt women's self-esteem must be stopped. There will be a meeting followed by a handout of the new rules about how all men must grovel a sufficient amount everyday to be allowed in the room with women's amazing wonderfulness.

      So, obviously, Mr. "She's not doing her job" you are just a supporter of the white male patriarchy, since you hate women and want them all to be barefoot, pregnant and in the kitchen.

      Don't worry, though. We'll re-educate you. Oh yes we will...

    2. Re:Bad programmers methinks by TheRaven64 · · Score: 4, Insightful

      It's quite easy to understand if you look at the context. The gender ratio in the sampled workforce is quite heavily male-biased, which implies that the only women who are likely to survive there are the ones that are really good at their job.

      --
      I am TheRaven on Soylent News
    3. Re:Bad programmers methinks by Lodragandraoidh · · Score: 2, Insightful

      This speaks to 'whatever happened to code reviews...'

      If they are managing to get obfuscated code past a code review, either:

      a) people reviewing it can't comprehend it or do the research to comprehend it and don't want to look stupid to the rest of the team.

      b) the team lead isn't establishing solid coding practices. In many instances team leads/project managers have no coding background - and thus can't establish standards.

      --

      Lodragan Draoidh
      The more you explain it, the more I don't understand it. - Mark Twain
  17. Of course by pthor1231 · · Score: 4, Insightful

    If someone wrote an article that was the opposite of this, from a "man's point of view" it would be extremely sexist, and the publisher, writer, and anyone quoted in the article would burn in the ninth layer of hell for being such a terrible person.

    1. Re:Of course by Gazzonyx · · Score: 4, Funny

      True, but it is the greatest flamebait article ever! It kind of brings a little tear of joy to my eye.

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    2. Re:Of course by gsslay · · Score: 5, Insightful

      I particularly liked the "There's a big need to fix testosterone-fueled code at Ingres because only about 20% of the engineers are women"

      Cos we all know that testosterone is bad, and women engineers are all better because, well, they're not mad things driven by their hormones, like silly men.

      Basically the woman is a fool with an agenda (women into computing) so is constructing a theory to fit the purpose using crass gender stereotypes. There are good coders who document and comment clearly. There are good coders who don't, but should. There are rotten coders who both do and don't document and comment clearly. But any attempt to assign any of the former attributes to gender specifics is pathetic, and more than a little worrying for someone who, I presume, is responsible for employing people under present gender discrimination laws. If I worked for her I would more than a little annoyed at being patronised and my coding style & skills being categorized by gender.

    3. Re:Of course by mattwarden · · Score: 3, Funny

      What the hell is "testosterone-fueled code" anyway? I mean, here is a excerpt from the code for an online store I recently developed for a client.

      // GONNA SHAVE WITH A RAZOR BLADE YEAH
      oStore.getValidator().validateInput(lstFormElements);

      // GONNA PUNCH YOUR LIGHTS OUT IF YOU KEEP LOOKING AT ME YEAH
      oStore.getCCProcessor().processPurchaseTrxn(listFormElements.get('CC'));

      // TIRED OF CODING TIME FOR WORKING OUT THEN STRIP CLUB YEAH
      oStore.getWorkflow().getNextPage();

      Seems pretty standard and I could see a woman coding it the same way.

    4. Re:Of course by maglor_83 · · Score: 2, Funny
  18. Poor observation skills by HappyHead · · Score: 5, Insightful

    This sounds like a severe case of deciding on a problem, and then picking out observations to support it. Let's say you have 1000 coders, and 1/10 of your coders (100 of them) write poorly documented code. Now we'll also consider the gender-split - if 1/10 of the coder population is female, and the statistical 1/10 of the coders writing poorly documented code applies to them as well - this means you'll have 10 female coders writing poor documentation, and 90 male coders writing poor documentation. WOW! NINE TIMES as many male coders who can't document code properly, CLEARLY that means that men can't document code, right? Right?

    The same sort of thing applied here at the University I teach at - a certain ethnic minority had a very bad reputation as producing cheaters in Comp.Sci. So for a few years, I carefully recorded every instance of cheating, and kept track of the ethnic background of the people getting caught. You know what? The only reason more people of that background were getting caught is because they represented 85% of the population in the department - the overall percentage of them that were cheating was actually LOWER than others.

    Perhaps this McGrattan person should concentrate more on fixing the problems than on blaming them on some group she doesn't like.

    1. Re:Poor observation skills by syzler · · Score: 3, Insightful

      I completely agree with the parent.

      From the FTA:

      There is a big need to fix testosterone-fueled code at Ingres because only about 20% of the engineers are women, McGrattan says. (Most of them are in jobs involving quality assurance or adapting the product to a new locale, she says, and not the "heavy lifting" of writing code.)

      Hmm, most of the women modify existing code or review existing code rather than write from scratch. Where is the comparison between male and female "heavy lifting" code writers and between make and female quality assurance/adaptor coders. Or was this comparison not as sensational as blaming the sex of the coder rather than the type of coder?

  19. Re:Remember: Sexism's Only Alright If It Favors Wo by Larsrc · · Score: 2, Funny

    I've seen all genders write obfuscated code--but it worked. Please describe what other genders than male and female you've seen writing obfuscated code. I'm most curious now.

    -Lars
  20. Oh come on, Slashdot! by borizz · · Score: 4, Funny

    -those strings of instructions that result in nifty applications and programs-

    Why do you need to explain what code is? This is news for nerds, not news for my mother. Give us some credit please.

  21. A woman claiming 'women right better code'.... by Anonymous Coward · · Score: 3, Funny

    bias, anyone?

  22. Re:Remember: Sexism's Only Alright If It Favors Wo by NotBornYesterday · · Score: 2, Funny

    You're just begging to be rickrolled to a NSFW hermaphrodite pron site with curiosity like that.

    --
    I prefer rogues to imbeciles because they sometimes take a rest.
  23. Rediculous nonsense by proud+american · · Score: 3, Insightful

    I have lots of coders reporting to me. You can't judge the sex, race, age, sexual orientation, etc of the coder from the quality of the code.

  24. Short Answer: No by jaxtherat · · Score: 2, Insightful

    Enough with the sexist and discussion provoking (read: flamebait) stories already.

    Any programmer (whether male or female) who 'try to obfuscate things in the code' are on a fast tract to sacked-ville, and ignored-for-promotion town.

    --
    http://www.zombieapocalypse.tv/
  25. Re:Remember: Sexism's Only Alright If It Favors Wo by Hyppy · · Score: 3, Interesting

    Because if the Wall Street Journal put ANY story out that even insinuated that women were less than the epitome of all that is good and right in the world, their offices would be firebombed.

  26. Beware of Female Programmers by Idimmu+Xul · · Score: 4, Funny

    Now that I've lived to see this day,
    These are the things I must but say.

    Die a bachelor, if your options are few,
    Never ever love a female programmer,
    they'll make a program out of you.

    Don't laugh it away, mine has been an object lesson,
    They find syntax errors, even in a romantic expression.

    Alas! They search logic in love, where there is none,
    Your heart may skip a beat and they just hit return.

    You are in for trouble if you persist,
    You'll just be a pointer in her long linked list.

    --
    Free Playstation 3, XBox 360 and Nintendo Wii

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
    1. Re:Beware of Female Programmers by sapphire+wyvern · · Score: 2, Funny

      I'd say the problem is that your romantic expressions aren't regular enough.

  27. Sooo tired by Alphasite · · Score: 2, Insightful

    I'm so tired of this stupid studies. So if we say "men code better than women do" then it's clearly a chauvinist article that makes unfair or unclear comparisons and undermine females and blah blah blah...

    But if the article says "women code better than men" then everything is ok. Is like some spot by Boss (at least in Spain) where the woman could replace the man if he wasn't able to use the stove or the washer ... or those chapters of Family Matters when men always mess up ... Well I'm tired of this.

    I think coding is about the person not about the gender. Careful people comment more and make more comments while rush people may make more cryptic code. Sometimes some brilliant people just don't comment but makes the most elegant code ... but you see ... "PEOPLE"

  28. Re:Since the whole article is based on anecdotes.. by Speare · · Score: 2, Insightful
    Your associate uses the programming style that triggers my standard "Tactics in Code, Comments in Strategy" rant.

    * Explain your intent, then write your code.

    This goes beyond just "put comments in your code." When you want to write a routine, or a program, start by describing the problem in natural human terms. One good approach is to open a new text file, write the problem description in English (etc.), but put comment/remark syntax markers around it. For each sentence in the problem description, you can often insert the real programming code necessary, and leave the English description behind.

    Adding translations and comments for every line of code, to explain every single operation, is not effective documentation. Instead, write your intentions for how the routine should work in English, and follow it with several lines of code. Put strategy in comments, tactics in code. This will help you write code cleanly and logically the first time, and it will help your associates decypher the program later. Commenting code shouldn't waste time, it should save time.

    If they wrote "// walk the array of customers" (above the loop) instead of "// increment i from 0 to j in increments of one", wouldn't that help you follow the chain of thought so much more? Of course, literate programming would rather you use variable names that conveyed their intent as well.

    --
    [ .sig file not found ]
  29. Here's my anecdote by stewbacca · · Score: 2, Insightful
    I work for a software company. Our female programmers get all the important work because, well, they are good at what they do. Most notably, they have PEOPLE skills and can contribute to the project in meetings. They improve quality in two ways. First, they care about the code they write (as the article states) and second, they aren't afraid to REWRITE code to make it better. They aren't defensive and recalcitrant when it comes to working out the bugs.

    Of course, I don't think this is 100% gender related, because the female programmers that act like the stereotypical programmers also kinda suck at work too. I think it's more of an issue of having people skills and my anecdotal evidence supports hiring more female programmers.

  30. A pathetic cry for help by billcopc · · Score: 2, Insightful

    Sexism aside, that article reads like a want-ad. Seems to me like Ingres is in desperate need of more estrogen, and that lone female coder has grown tired of chatting up the HR bimbos.

    If women write better code, does that mean we shouldn't hire bulldykes ? Talk amongst yourselves!

    --
    -Billco, Fnarg.com
  31. Re:Simplistic? True? by jgardner100 · · Score: 2, Insightful

    Hate to burst your bubble, but I get the same thing with my male and female co workers. It's called team work.

  32. Multi-tasking by inamorty · · Score: 2, Funny

    Does this explain the state of affairs in concurrent programming?

  33. Re:Remember: Sexism's Only Alright If It Favors Wo by h4rm0ny · · Score: 4, Insightful


    Bah! I can think of three female programmers immediately who I've worked with closely enough to comment on their code. Two of them were C++ programmers and I don't remember their code being anything atypical in terms of comments, though one wrote very elegant code. The third works primarily in Java and somehow manages to turn out hideously unreadable code. Conversely, I've seen numerous men who program in a variety of ways, readable and otherwise.

    It's now well established that the human brain builds negative stereotypes more easily than positive ones and that people see what they are expecting and apply a double standard. This person sees what she wants to see.

    --

    Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
  34. Gender differences by Sobrique · · Score: 4, Interesting
    Women and men do tend to think differently.

    Not worse, nor better really, just ... different

    So yes, I can see women writing 'better' code, but I still think that's more likely to be a matter of training and discipline, as much as anything else. Or perhaps the 'female geek' effect - in a word where you'll be faced with massive prejudice and pressure, the 'female techy' is typically (and yes, I realise this is a broad generalisation) even more hardcore than male counterparts - simply because she's there because she _really_ wants to, and has had to face a lot of uphill struggle to get there. This seems to hold true in petrolhead circles too (see, I can do car analogies too) - the few 'girl racers' I've met, have extremely extreme car mods, and rigs, because they're competing against everyone else _and_ the gender stereotype.

    1. Re:Gender differences by mgblst · · Score: 2, Insightful

      Women and men do tend to think differently.

      Not worse, nor better really, just ... different


      You know who else think differently, my friends, they think different to me as well. Amazing isn't it? They like different things, like different girls, have different priorities, etc... It is almost as if we are ALL individuals, not part of some great group hive mind.

  35. Puhlease! God devs comment. Bad ones don't. by Bozovision · · Score: 2, Insightful

    Trying to say it's got something to do with gender is a meaningless generalization unless the author shows us the proof. Pointless and offensive at the same time. Try these substitutions for size:
    "Pandas comment better than Gnomes at coding". (I guess it's cos pandas take time to think. Gnomes are just to fast for their own good.)
    "Short people code better on average than tall people" (Presumably because their heads are closer to the computer?)
    "Hispanics code differently to black people." (I have no idea what I can say about this comparison that won't sound racist, and the point of this comment is to show how STUPID any general comparisons like this are.)

    On the other hand, maybe these would be valid comparisons:
    "Managers write worse code than developers". Yep, it might come as a shock that on average people who practice are better.
    "Good developers comment more than bad developers." Shock! Horror! There's a surprise!

    And while I'm at it. The picture that the WSJ used to illustrate their article shows a dramatic lack of imagination. Next time let's have a pictures of a naked coders instead of a half-assed, inappropriate, royalty-free attempt to use a bit of beauty into an otherwise daft article.

  36. Sexual orientation and coding style? by kurisuto · · Score: 2, Interesting


    As an additional dimension to this question:

    I'm a gay man, and I've been told that my code is unusually clear. I think of my code as a letter that I'm writing to the next person who has to work with it. (Frankly, I consider clarity in code to be a measure of the competence of the programmer.)

    Obviously, a pattern can't be drawn from one individual. However, if there's any validity to the claim about a difference in coding styles between the male and female populations, I wonder whether gay men tend to pattern one way or the other.

    1. Re:Sexual orientation and coding style? by locofungus · · Score: 2, Informative

      IMO Clarity is important but it's not the most important thing when writing code.

      1. Correctness. If the code doesn't work (as it was supposed to have been designed to do) then it's wrong. It doesn't matter how beautiful it is. I've worked with people who have provided a library plus API for some functionality and I've been unable to get it to work EVER. They've claimed that they've tested it. I've been unable to find any case that works. In the end I was forced to rewrite it from scratch. (I've yet to receive any beautiful code that fails like this - unless you count pretty boxes for comments and correctly indented as beautiful)

      2. Robustness. I'm not talking about ability to handle unexpected input here - that comes under correctness. I'm talking about if someone needs to make a change in the future to support some new requirements, how robust is the code to a small change leaving (most of) the old functionality still working correctly. Many many years ago I remember working on some code (DOS code to drive hardware over serial port) that had some timing constraints (of the order of 1/100s) but nothing exceptionally difficult to achieve even in those days. The code mostly worked (although it failed intermittently) but was so sensitive to changes that moving a bit of functionality out into a subroutine would affect the timing enough to cause it to fail most of the time. In the end, the only solution was to rewrite from scratch.

      3. Clarity. Once the other two are fulfilled then clarity is important. But most of the time it's pretty hard to fulfill both 1 and 2 without also giving 3. Mostly 3 becomes alerting people to weird quirks in the code that have been done for a reason but aren't necessarily obvious at first glance. Comments are dangerous because they can be wrong even if the code is correct and robust. The very best code is correct, robust and doesn't need comments at all. Comments can break 2 - a small change to the code can silently break the comment. If the comment is at a high enough level then comments can sometimes be robust against small changes to the code. And some things are impossible to do in a small compact piece of code - then you need a small compact comment to give you the overview. Sometimes low level comments are required in code because requirements have changed so variable or function names no longer make sense in the new context. Of course, in an ideal world, we'd go and fix all those names everywhere.

      Tim.

      --
      God said, "div D = rho, div B = 0, curl E = -@B/@t, curl H = J + @D/@t," and there was light.
    2. Re:Sexual orientation and coding style? by Alpha830RulZ · · Score: 2, Interesting

      Having supervised several gay people, I can tell you that there doesn't seem to be any useful patterns that I can discern. As near as I can tell, they seem to act and code like, well, people.

      The biggest system disaster I have been close to was headed by two women who we all suspected, but do not know, were lovers. They were horrible developers. One of the best SDET's I know is a gay woman, one of the best web devs I know is a gay man. One of the most anal and anti-productive programmers I know is a gay man. One of the better large project managers I know is a gay woman.

      I haven't known many excellent pure programmers that are female, but, truth be told, female programmers of any skill are pretty rare.

      --
      I was taught to respect my elders. The trouble is, it's getting harder and harder to find some.
  37. McGrattan's Blog by Tsar · · Score: 5, Informative

    Hey look, you can read Miss McGrattan's own blog entry about the interview and perhaps provide some intelligent, constructive comments. Remember not to obfuscate!

    1. Re:McGrattan's Blog by RobBebop · · Score: 5, Insightful

      Thanks for the link. When she refers to gender as "women" and "boys" it really makes it clear where her prejudices are.

      As a young man, I have worked hard to mentally apply the words "women" and "ladies" in place of "girls" during recent years because I have found that many females have a reasonable personal preference not to be called "girl" ("chick" is also a bad choice).

      In any case, seeing "boys" applied within an "anti-man" argument is a refreshing reminder that women also suffer the negative effects of sexism and bigotry.

      --
      Support the 30 Hour Work Week!!!
    2. Re:McGrattan's Blog by NotBornYesterday · · Score: 5, Insightful
      From TFA:

      McGrattan boasts that 70% to 80% of the time, she can look at a chunk of computer code and tell if it was written by a man or a woman. From McGratten's blog:

      We had a great chat, and the one question I had to think long and hard about was how code written by a woman would differ from that written by a man, and whether or not I'd be able to identify the gender of the author of a piece of code. This is nothing I'd ever thought about before, and given our strict coding standards at Ingres, our code is fairly androgynous. The Financial Times article that McGratten's blog links to also quotes the 80% figure.

      How does "nothing I'd ever thought about before" and "fairly androgynous" code add up to "at least 80 per cent of the time"?

      If you publish shit based on psychic code-reading ability and made-up, pulled-out-of-your-unthinking-ass subjective factoids, you need to publish it as what it is - fiction.
      --
      I prefer rogues to imbeciles because they sometimes take a rest.
  38. Documentation by Ogive17 · · Score: 5, Funny

    We all know that even if a woman *appears* to document her code well that what is written isn't what she really means!

    Or women don't document at all and just expect the men to know what they are thinking.

    --
    "Action without philosophy is a lethal weapon; philosophy without action is worthless."
  39. Re:Remember: Sexism's Only Alright If It Favors Wo by stewbacca · · Score: 2, Interesting

    "They try to obfuscate things in the code, and don't leave clear directions for people using it later." Excuse me? "Try to?" Like, it's on purpose? I'll buy the article's premise, because I see it at work every day. I'm a little more cynical, because I get to hear the "defense" of obscure (i.e., passive-aggressive) code writing practices in meetings. I can't go a day without hearing some sort of gripe from the programmer about how unfair work is, or how under-appreciated, overworked they are, or how unrealistic the demands are. Their response is a natural one...stick it to the man by imbedding self-preserving code.
  40. Actual comments from woman-code: by BForrester · · Score: 5, Funny

    They'll intersperse their code-those strings of instructions that result in nifty applications and programs-with helpful comments and directions.

    If women code anything like they act in real life, then you'd get a lot of helpful comments like this:

    /*If you don't why this function isn't returning your expected result, then hell if I'm going to tell you.

    1. Re:Actual comments from woman-code: by Gazzonyx · · Score: 4, Insightful

      */
      Sorry, I couldn't stand to see an unclosed comment... It was driving me nuts.

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    2. Re:Actual comments from woman-code: by Achoi77 · · Score: 3, Funny

      "If you don't know, I'm not going to tell you!" - quote from my ex when I asked her what was wrong.

  41. Re:Remember: Sexism's Only Alright If It Favors Wo by Atraxen · · Score: 5, Insightful

    Not only that, but even if the observation (that women write better documented code than men) is true, that would only be a correlation. The gender itself is not causation - if you want to learn something meaningful, find out why the gender is correlated (e.g. women at that company are given more reasonable deadlines, men feel less secure in their positions so they don't care about helping others untangle the 'spaghetti').

    --
    Be careful of your thoughts; they could become words at any minute...
  42. I don't think so. by DougReed · · Score: 5, Insightful

    One of the better programmers I ever knew was a woman, and also one of the worst. The better one didn't even indent her 'if' statements, much less add comments until I shouted at her and made her review something she had written a few months earlier. The other one, wrote more comments than code... Like she thought she could justify the fact that it didn't work by explaining what it was supposed to do.
    Pretty much kills that theory in my book. Men and women often think differently, and even different programmers of the same sex think differently. There are a lot of generalizations one can make about women and men in the world, and argue religiously about whether it is environment or instinct... Somehow I don't think programming style is one of them.

  43. Re:Since the whole article is based on anecdotes.. by Sobrique · · Score: 4, Insightful
    Repeating what the code actually says, in 'non geek' is redundant commenting IMO - if anyone doesn't know enough about the code to know what that 'for' line says (like the original coder, given the comment is incorrect ;p) then they have no business touching the code at all.

    I work on the assumption that the next person to read the code will have at least a vague idea of what the programming language is, and how to speak it, so comments are the subtext to explain what happens, where, and where any obfuscations are. (Deliberately obfuscating is bad; occasionally it's unavoidable, and therefore needs more comment)

  44. Re:Remember: Sexism's Only Alright If It Favors Wo by cammoblammo · · Score: 4, Funny
    Ha! That Donald Knuth comment reminds me of the obligatory xkcd reference.

    Who said women couldn't code?

    --

    Cogito, ergo sig.

  45. Stereotypes are an ugly thing.... by borgheron · · Score: 4, Insightful

    I think this is a stereotype like any other. You can't say that one group of people always does something in a given way.

    I certainly do not write my code in a "cryptic way" to show off. I find it a little insulting to my entire gender to be pigeonholed in that way.

    I was taught that when you write code it should be easily understandable and well commented and that's what I do.

    Sheesh.

    Greg C.

    --
    Gregory Casamento
    ## Chief Maintainer for GNUstep
  46. i don't know if women write better code by circletimessquare · · Score: 5, Insightful

    but i do know that wildly speculative sweeping generalizations provides lots of fodder for utterly useless watercooler chit chat

    congrats slashdot for picking a topic everyone feels entitled to comment on and absolutely no one actually says anything useful on

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  47. Re:Remember: Sexism's Only Alright If It Favors Wo by ShieldW0lf · · Score: 5, Funny

    Does this mean you need to spend half an hour telling the database how pretty it is and how much you love it no matter what it says before it will give you a straight answer?

    --
    -1 Uncomfortable Truth
  48. Re:Remember: Sexism's Only Alright If It Favors Wo by Dog-Cow · · Score: 3, Funny

    Did I tell you... Umm, you should have known, by reading your own post, that up until this point you hadn't. I think you need to work on writing things down more clearly :)
  49. Re:Remember: Sexism's Only Alright If It Favors Wo by Rogerborg · · Score: 5, Funny

    Also: I hear that Asians write really efficient code because of their little fingers. And black guys? They could write great code, if only Whitey would stop keeping them down.

    --
    If you were blocking sigs, you wouldn't have to read this.
  50. Perhaps by east+coast · · Score: 2, Funny

    But I can still write my name in the snow better than any woman.

    --
    Dedicated Cthulhu Cultist since 4523 BC.
  51. Deadlines... by Lonewolf666 · · Score: 4, Insightful

    I've seen all genders write obfuscated code--but it worked. And every single time it was because we were under the gun for a deadline or there was simply no other way to do it.

    Yeah, been there, wrote my share of spaghetti code to tack on another feature the quickest and least elegant way.
    Now add a management that is not willing to invest in refactoring during slower times, and the code will degrade over the years as one quickhack is added to the next.
    --
    C - the footgun of programming languages
  52. She could be right ... or be deeply biased by Anonymous Coward · · Score: 2, Insightful

    "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"

    That there is a difference I could buy. But that the difference is so easily stereotyped in the way she describes I find a little hard to believe. In fact, were this a man talking about the "difference" in the same way, I'm sure they would be in enormous trouble for offering such a blatantly sexist anecdote. I'm a little surprised that someone with such an attitude has a management position and is so bold about stating their prejudices. I'm all for getting as many women in coding jobs as are interested and are skilled at it, but I'd think twice about working at a place where someone in charge has such obvious gender biases.

    Improve coding practices by requiring better documentation and setting standards? Great idea. Attribute existing differences in those practices to gender? Sounds like foolishness unless she's got some kind of scientific study to statistically back it up.

  53. Think differently? by foxtrot · · Score: 3, Interesting

    Sure, men and women think differently, but perhaps the answer is even simpler. Look around your average IT shop, and it's pretty plain that there are a lot more men there than there are women.

    Perhaps it's just that for men, IT's a reasonable and expected field to go into, but for women, it's not as much, so a woman going into IT is much more likely to be well-suited for it and better at it?

    It might have very little to do at all with the difference in thought processes between men and women.

  54. Re:Remember: Sexism's Only Alright If It Favors Wo by complete+loony · · Score: 2, Funny

    And then you have women like the brillant Paula.

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  55. Re:Remember: Sexism's Only Alright If It Favors Wo by ranulf · · Score: 5, Insightful

    This article told me I code like a woman.

    Actually, this article is almost completely fallacious... Let's look at the facts quoted:

    McGrattan boasts that 70% to 80% of the time, she can look at a chunk of computer code and tell if it was written by a man or a woman.

    ...at Ingres because only about 20% of the engineers are women, McGrattan says. (Most of them are in jobs involving quality assurance or adapting the product to a new locale, she says, and not the "heavy lifting" of writing code.)

    So, basically, she'd get a higher score if she guessed "man" every time than if she tries to be clever. Clearly, then, she does think some men's code looks like it's been written by a woman, which invalidates to point of the article.

  56. Re:Remember: Sexism's Only Alright If It Favors Wo by Anonymous Coward · · Score: 4, Interesting

    First, Perl is not an acronym, see the FAQ. Second, there have been studies [JFGI] that show that women give directions differently. Men use spatial reasoning (go north 5 miles), women use procedural methods (turn right at the bargain outlet).

  57. Even if true by dmsuperman · · Score: 4, Informative

    Even if this statement is true, which I'm certainly not saying it is, in my experience women are also far more likely to clash with each other. We used to have a single woman programmer in our development department, and everything went smooth. She would make her points, most of the men would usually gang up on her and explain the opposite, it'd be one big fun-fest. About 20 minutes later, a major breakthrough would be achieved where both parties are happy.

    Another woman works here now. IF they finish arguing in an hour, it's not because they've come to a conclusion, it's because their throats are sore. They still can't even decide on some simple coding standards that the rest of us have already just been sort of using.

    Women together generally makes for a bad experience.

    These are just things I've noted, nothing sexist about it.

    --
    :(){ :|:& };: Go!
    1. Re:Even if true by Tranzistors · · Score: 3, Insightful

      Maybe it is because of incompatible personalities, and not so much because of gender?

  58. Re:Remember: Sexism's Only Alright If It Favors Wo by Anonymous Coward · · Score: 2, Insightful

    ...then again, we hired a woman to program (as an intern) and she ended up preferring to write documentation, which she enjoyed a lot more than programming, and trust me, we were more than happy with that situation. We had a veteran programmer who was a woman and she wrote hardcore C (ex physicist) and didn't comment much.

    I comment my code profusely and stick notes about "why" (not "what") all over the place, and I'm a guy.

    I think the OP is generalizing way too much. The point of my post is that everyone is different, not just because they are men and women. Women can be just as elitist as guys and write clever code that runs as efficiently as possible (in other words, can be a little hard to understand) then assume that anyone following them should know what they are doing so not comment much. It can look obfuscated but sometimes to get max performance that's how things turn out.

    Tell me something new... admittedly I have to push myself to comment, but in my old age it's coming a lot more naturally. Everyone is different and sex has little to do with it.

    -Viz

  59. Re:Remember: Sexism's Only Alright If It Favors Wo by Reverend528 · · Score: 4, Funny

    Like, it's on purpose?
    It was hard to write. It should be hard to read.
  60. yes by circletimessquare · · Score: 2, Informative
    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  61. That's offensive by RobinH · · Score: 2, Funny

    As a male who likes to leave lots of "roadmaps" and such in my code for future programmers, I feel that my masculinity has been challenged.

    --
    "I have never let my schooling interfere with my education." - Mark Twain
  62. I wouldn't know ... by YeeHaW_Jelte · · Score: 3, Informative

    .. haven't _ever_ worked with a woman programmer in my 10+ year career.

    That's a bad thing.

    However, compensating by ascribing generic traits to gender (tidyness, empathy, etc) is not going to help, and IMHO this is exactly what this VP does.

    I'm glad I don't work for her. She seems quite sexist.

    --

    ---
    "The chances of a demonic possession spreading are remote -- relax."
  63. Sexist Garbage by Moe1975 · · Score: 2, Insightful

    That woman needs to have her head examined. I just (thankfully) finished working on a small team that included a woman, and she was THE most ignorant, illiterate, incompetent, clueless, arrogant, lazy, backstabbing, lying, trash talking, rude, and cheating sack of slime IMAGINABLE . . . Yet will I assert that this applies across the board to women? NO Only a sexist idiot would do that.

    --
    SARAVA!
  64. Well, since you ask... by v(*_*)vvvv · · Score: 2, Funny

    Female code is more sensitive to errors and user input. They react, but often in ways unexpected, and there is a lot more going on than the users are made aware of.

    There are also more dialogs, but most of them are just confirmations, with no option to cancel. Sometimes users are forced to read instructions or show concern for the programs wellbeing before being able to proceed.

    Female code is also shorter and lighter, more often mutli-threaded, and tends to be harder to debug.

    Female software tends to lock-in users with very strict and specific End User License Agreements. You also lose half of your harddrive if you switch to another program, or are caught making out in another window.

    And so on and so forth.

  65. Re:Remember: Sexism's Only Alright If It Favors Wo by sheepofblue · · Score: 5, Insightful

    Women and Men DO think different. The men are evil and women rock tone of this article however is pathetic as are her conclusions.

    However you could leverage the fact that men and women think different to gain fault tolerance. If you have two independent programmers do the same work, with the same requirements they will frequently arrive at different solutions. As most know this can be leveraged by comparing the output of both solutions to verify the solution is proper. If one solution was done by a male and the other by a female the probability of difference should go up due to the difference in thought patterns, I would think.

    That is a real chance of benefit versus the male hating nonsense she spewed.

  66. Programming Options by DrugCheese · · Score: 3, Insightful

    I've always lived by the rule that there are three options when it comes to programming:

    1. Cheap
    2. Fast
    3. Correct

    You can choose any two options when developing something. Guess which two my clients usually make?

    Regarding this, I agree - flamebait, article - I've only ever worked with one other female coder. Her code was the sloppiest thing I've ever gone cross-eyed staring at. Usually that doesn't matter to the clients much as long as it works, her code didn't even work half the time. With 0 lines of documentation 2 out of the 3 projects I worked with her on I ended up completely redoing her responsibilities myself.

    Do I judge all women coders by her standard? No I'm not that ignorant.

    --
    *DrugCheese rants*
  67. Re:Since the whole article is based on anecdotes.. by paanta · · Score: 2, Insightful
    Eh. I think in general, women engineers (as a group) are better than male engineers. Pretend 5% of the population (either gender) is predisposed to be good at engineering. Given cultural factors that encourage men to go into sciences, 10% of men might go into engineering, meaning half of them are NOT meant for the work. OTOH, if only 2.5% of women go into engineering, they're probably biased towards the whip smart + motivated side of things.

    I don't think either men or women are better at engineering, but there are just plain fewer women in these fields and they tend to be very competent, in my experience. More wheat; less chaff.

  68. Re:Remember: Sexism's Only Alright If It Favors Wo by cs668 · · Score: 4, Interesting

    This brings me back to my first post college job. It was 1991 and the guy sitting next to me had a picture of Paula Abdul as his desktop background. Someone complained to HR and he was asked to remove it.

    At the same time my boss who was also his boss had an anatomical poster "Penises of the Animal Kingdom" on her wall with to scale anatomical drawings of about 10 different species penises - including homo sapien. HR never asked her to remove it, and she was in a position of authority.

    Never really bothered me, but did show me that sexism and sexual harassment rules are applied differently to men than to women.

  69. Re:Remember: Sexism's Only Alright If It Favors Wo by dosius · · Score: 5, Funny

    ORLY now. I'm still officially a man (much to my chagrin), and I've always used landmarks to give directions.

    -uso.

    --
    What you hear in the ear, preach from the rooftop Matthew 10.27b
  70. Stupid sexist tripe. by jcr · · Score: 3, Funny

    Anyone who assigns attributes to half of the people in the world is on very thin ice.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  71. Silicon Valley is not Hiro Protagonist's scoreboar by Project2501a · · Score: 2

    > Silicon Valley's highest-ranking female programmers

    [Citation needed]

    highest ranking as what? who's on top? what's my ranking? shit, i need to level, wtf?

    --
    ----
  72. Code Janitor by kcdoodle · · Score: 3, Interesting

    I have cleaned up and maintained programs from literally hundreds of other programmers.

    I have not noticed any sexual bias for bad code. Some people have it and some people do not. I see tons of unneeded and often unused variable with poor names. Databases with numeric fields where text should be and vice versa. Platform or vendor specific techniques where generic ones will do just as well.

    Oh yeah, I have seen the deliberate obfuscation. (Ranjeev Dolas where are you?) Splicing assembly code into a 4GL Informix program to make it say "Is the third octet = 192?". It is not hard to see when people have deliberately made things hard for others to figure out, probably all for job security.

    Me on the other hand, I know that I will probably be the fool that has to come back to this code later and fix it again. So I add comments to the things I can figure out and even to the things I cannot. Put comments and dates around my fixes. After a while the code starts to look like my own.

    My poor code comes from my throw-away programs. The kind you write once to solve a problem today. You run the code once and never expect to touch the code again. Except next month, a really similar tool is needed. Now I go back to my old code, if I can find it, and OMG it looks like a freaking third grade did it with construction paper and crayons. This is my biggest downfall.

    --

    - I live the greatest adventure anyone could possibly desire. - Tosk the Hunted
  73. Brain scans,and case studies verify this result by natoochtoniket · · Score: 2, Interesting

    Men really do think differently than women. Numerous studies of brain activity, using CAT and similar scanners, find that different areas of the brain are active during similar tasks. Just this week, another study was published showing that the brain activity in gay men is very similar to straight women, and that the activity in lesbian women is similar to straight men, and that brain activity in straight men is very different from straight women.

    I work in a system of several million LOC, with a hundred different authors over the course of two decades. I know all of the developers, and I see the difference in the code all the time. Code written by women or gay men is much easier to read, and rarely requires maintenance to fix bugs. Code written by straight men is often uncommented, difficult to read, and requires frequent maintenance to fix bugs. (I don't think we have had any lesbian programmers.) The maintenance frequency shows up very strongly in the reports from the revision control system.

    I try to make my code beautiful and clear, in addition to being correct. And verifiable theoretical correctness is better than just passing the test case. The straight men I work with don't seem to be concerned with aesthetic values or theoretical correctness. They just want it to work for the immediate test case. Then they have to work on it again, to fix bugs, usually ten or more times in the first year that the module exists.

    If frequency of repair (bug fixes) is an indication of quality, straight women and gay men produce higher quality code, and the numbers prove it. It really is quicker to do it right once than to rush and then fix it later. But, to do so seems to require a different way of thinking.

    Perhaps we should go out of our way to recruit women and gay men.

  74. Re:Remember: Sexism's Only Alright If It Favors Wo by Anonymous Coward · · Score: 4, Funny

    No, he's saying he 'half-dated' one of them. That means he was dating her but she wasn't actually aware of it...

  75. Re:Remember: Sexism's Only Alright If It Favors Wo by penguin_dance · · Score: 4, Insightful

    Sure, women have a different way. In my experience, that is rarely the best, most concise, most efficient way of doing something.

    When giving directions, most men will say something like, "Turn north on Smith Street." Technically, it's correct, but most people don't know north from south.

    A woman usually navigates via landmarks, such as, "turn right at the Shell station." That can also be confusing if it's *too* generic and the driver is going to be passing a lot of Shell stations. OTOH, it's often a lot easier to see and remember a landmark than a often obscured street sign. That doesn't make it more or less concise than a man's directions.

    When giving directions, don't give people your special "short cut route" unless you're having to do so they can avoid construction or other major delay. Short cuts are rarely direct and it's best to have as few turns as possible even it means it's longer mileage-wise. If you write down directions to send, it's best to double check with a map as it's easy to leave out parts when it's somewhere you travel all the time. Or better yet, just Goggle a map, print it out and tuck it into the invite.

    As to code, sloppy, lazy code is just that and there's no helping someone with bad habits. But if someone is trying to make it cryptic on purpose to be macho or, more likely, a feeble attempt at job security, they're an idiot. THEY may have to go back one day and rework that code and trust me, they won't remember what they were doing. I think a lot of coders don't document like they should, usually because they're under a deadline. Or they think they won't have a problem because they're working in it all the time. And they almost never go back after the project to document. But consider that, situations change, and you might find yourself changing languages, working for a year or so on another project. THEN just try and go back to ASP after being immersed into ASP.net or Perl or something else. You'll wish you'd paid more attention to documenting.

    --
    If you've never been modded as "flamebait" or "troll," you've never tried to argue a minority viewpoint here!
  76. early programmers were female by peter303 · · Score: 4, Informative

    Up to 1960s or so. Military and some businesses would hire rooms of "computers", people working with mechanical calculators and graph paper. The autobiography "Surely you are joking Mr Feynman" has a segment about this. Some of these same women carried over to early vacuum-tube computers. Grace Hopper, inventor of the first widely used compiler, was of this generation.

    At one of my early summer jobs in a large corporation there was a gender split between "scientists and engineers" and "programmers". The guys did write code on large "coding sheets" of paper. But the females programmed keypunched the coding sheets, submitted the job decks and collected the printouts, and the guys would analyze the printouts. You were lucky to get one or two turn-arounds a day. The new people had did their own programming on teletypes of terminals (inverted 1974) in school, so declined programming assistants. Some theold guys NEVER touched a keyboard in their careers. They were either promoted into management or laid off during the late 20th century corporate restructurings.

    So early programming acquired the "taint" of effeminity and being "trade" taught in vocation school. That taint delayed computer science from becoming as degree offereing at places like MIT, Stanford, and Harvard, some untilt he 1980s. I attended all three of those schools and remember the faculty debates about this. Computer scientists hid out in other departments, typically math and electrical engineering. I guess it was when you started seeing coding superstars like Don Bricklin and Bill Gates (yes Bill wrote a legendary BASIC compiler OFF-LINE that worked within a day of finally getting the hardware) that commercial computer science became more acceptable.

  77. Re:Remember: Sexism's Only Alright If It Favors Wo by thePowerOfGrayskull · · Score: 4, Funny

    I work with a woman whose name is Ruby Perle. The sad part is that the inherent pun there didn't dawn on me until just this second. I must be slipping...

  78. Sexism's Only Alright If It Favors Women by Simonetta · · Score: 4, Interesting

    I have not the slightest doubt that your experience is completely true.
        I had an experience like this at Hewlett-Packard in Camas, WA in 1993. I was assigned to tear apart fully-assembled printers so that the parts could be used for prototypes of the next generation. I worked alone in a room filled with printers. No one had access to this room except from me and my (supposedly) male boss.
        After a few weeks, I put a close-up picture of Claudia Schiffer on the PC's wallpaper. My boss saw it and flipped out. He ordered me to remove it immediately. I said that I liked it and that no one could be offended because no one had access to the room.
        A day later I was fired from Hewlett-Packard for 'creating an environment conducive to sexual harassment'. I couldn't get unemployment benefits.
        To this day I hate H-P and I don't believe anything anyone says about it being an advanced or great company. I will never sign off a purchase order for any of their products for any company that I work for. I suspect that most of the so-called great companies in the electronics/computer industry are the same way.

  79. Re:Remember: Sexism's Only Alright If It Favors Wo by bzipitidoo · · Score: 5, Insightful

    The biggest problem with "brains work differently" is that "differently" is too easily interpreted as "better". People simplify this down to a one dimensional score of IQ. No matter how you rig the scores, one group is going to come out looking "better". Then you get things like how former Harvard President Summers' speech was interpreted. And you get denial for purely political reasons, insistence that everyone is equal because otherwise it would be unfair.

    Which is the better chess piece, the knight or the bishop? That's not a good question. It presumes that there's a clear advantage to one or the other when actually it's situational. The knight is regarded as better for closed positions, while the bishop is better for open positions. Nonetheless, chess experts couldn't resist concluding that perhaps the bishop is overall slightly better, and have gone as far as giving computers a blanket preference in that direction. Perhaps the bishop is the better piece for the computer's typical style of massive tactical computation paired with ever more sophisticated but insufficient heuristic rules to compensate for zero understanding of the overall strategic considerations of a chess position. (For instance, computers have been known to continue to grind out move after move in positions where the outcome is already known, positions such as king and knight vs king which is a draw no matter what the players do, because unless specifically programmed to do so, computers do not assess positions from a view of what is possible.) What I wonder is if programming is a situation in which men's or women's style of intelligence seems to work better, or is programming a more varied situation than that?

    --
    Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  80. Re:Remember: Sexism's Only Alright If It Favors Wo by Archangel+Michael · · Score: 3, Insightful

    Giving directions should be a lesson to coders and developers in general.

    Turn left (North) on 16th street (Starbucks on the corner)

    Go 1.5 miles (about three minutes) to Broadway (Shell Station) and turn left (West) ....

    The problem is that people tend to give directions one way, or another, but not both. Both is always better, even for those that tend to work one way better than another.

    I don't mind obfuscated code, if it is well documented as to what it does. It can be more efficient way to get something done.

    The some of the best coders make some of the worst documenters, because they think everyone should think like them.

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  81. Re:Remember: Sexism's Only Alright If It Favors Wo by gad_zuki! · · Score: 4, Interesting

    >Men use spatial reasoning (go north 5 miles), women use procedural methods (turn right at the bargain outlet).

    How much of that is social? I would think how a girl grows up is very different from how a boy grows up. If a boy joins boy scouts, goes hunting with dad, etc then he'll see a map as something with directions and distances. If a girl doesnt get these experiences, she may never see a map until she learns how to drive and at that point has internalized her surroundings by using landmarks.

    I think many of the things we write up to genetic determinism really have social roots.

  82. Not Male vs. Female, it's Verbal vs. Analytical. by |/rad|/oder · · Score: 4, Insightful

    Way to miss the forest for the trees everyone.

    1) 80% of software cost goes into maintenance.
    2) Developers rarely stick with a position for more than 3-5 years.

    It's more cost effective to have code that is easy to maintain, thus her focus on READABILITY. I can't tell you how many man-hours have been lost on our projects because our code is stupid and unreadable. Remember every time you've wanted to throw a brick at the guy before you? Yeah, that's stress that I really don't want yo be paying for on my project. Now:

    3) Developers spend more time reading code than writing code.
    4) Developers absorb code density faster via code examples than they do via documentation.

    So, it's better to write self-documenting code, than to document highly analytical code. That means sensible variable/method names as well as collections/relationships that are relevant, at least where OOP is concerned.

    Now, most business software is non-algorithmic, i.e. it isn't really computing so much as it is moving data around. The math isn't all that complex when the hardest thing you have to model is your database and the queries used to run it.

    Considering all these things, I often hire programmers with better verbal skills, even at the expense of their analytical skills. Women tend to be more verbal than analytical, thus the authors conclusion. It's also easier to teach optimization and performance than it is to teach English grammar/syntax and how to "port" that to a programming language, and as outlined above, this is the part of the software that is not only the most expensive, but will give you the higher ROI over the life of that software. Enterprisey stuff can linger for tens of years, incurring maintenance costs all the while.

    Now if the author had looked beneath the surface of what her gut (correctly) told her into the real cognition of what was going on, she might not have pissed off a bunch of insecure slashdot trolls. She might have even realized what was "better" about what she was seeing and how to train the rest of her staff to perform at that level.

    --
    but then again, commenting on a katz story is almost as self-serving as the katz story itself. -tensionboy
  83. Re:Remember: Sexism's Only Alright If It Favors Wo by h4rm0ny · · Score: 2, Insightful


    Whilst your intentions are good in the above, and you are correct as far as it goes, the real problem of -isms is not whether one group is generally different to another or not, but when members of a group are presupposed to conform to the stereotype. We know that a bishop moves in a specific way in chess. But the real world that you are comparing to has "bishops" that may tend to move in a particular way but very far from always do. For a generalisation such as this article makes to be a useful guide to decision making such as what gender to employ, even if the article were correct in a general case which I'm very far from allowing, the tendency would have to be absolutely overwhelming before it became more efficient to pre-judge people based on their gender rather than assess people for who they actually are.

    Quite simply, the average man is seldom average, and neither is the average woman.

    --

    Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
  84. Why make this a gender issue? by Duncan+Blackthorne · · Score: 2, Insightful
    Let's remove gender from the subject completely for a moment.

    I've never been paid to write code, but I know how. If you're going to write code that nobody other than yourself is ever going to see or have to modify, then you can get away with not embedding comment text and generally being sloppy. You can also be as obfuscated and cryptic as you want, because again nobody else is ever going to have to try to decipher it. But seriously, if you're getting paid to code you have to assume somebody down the road is going to have to deal with how your source is written. If nothing else, your boss may want to look it over, and if your boss can't make heads or tails of it without a sherpa guide, then you're not going to be viewed favorably, are you? In a nutshell, I think writing clear, concise code, with clear, concise commenting, is the professional way to do the job.

    Now let's put gender back into the equation: I wouldn't be surprised if the ratio of male to female professional programmers is 1000:1, if not 10000:1 or higher. The few women coders out there HAVE to be more professional, HAVE to do a quantum level better job than their male counterparts, if they want to be taken seriously, don't they? It's a sad commentary on humanity in general that we have to see this sexist bullshit attitude day in day out in this world, but that's what they have to contend with, so that's the only way they, as professionals, can handle it.

  85. Re:Remember: Sexism's Only Alright If It Favors Wo by Dare+nMc · · Score: 3, Interesting

    Never really bothered me, but did show me that sexism and sexual harassment rules are applied differently to men than to women.
    You pretty much summed up harassment, since it is defined by what bothers others. It is treated equally when complaints are filed. IE men never complain about harassment (and trained by society to not complain about these type issues), so their opinions don't merit the same consideration (because were not bothered.) Of course in practice complaints by guys are treated differently, but that falls outside of the 99% of harassment complaints.
  86. as a female coder, i think this is b.s. by song-of-the-pogo · · Score: 4, Insightful

    writing clear, readable code isn't a "guy" thing or a "girl" thing, it's a "good programmer" thing. similarly, writing confusing, obfuscated code isn't a "guy" thing or a "girl" thing, it's a "clueless programmer" thing (unless it's being done for the ioccc, in which case it's totally cool).

    do i comment my code? yes, but it's not because i'm "touchy-feely". i hate commenting my code. i hate documenting my work. it's a chore and a bore (and something i often leave until the very end). i do it because it's essential for me to be able to go back to my work in a few months time and understand what the heck it was i was doing/thinking at the time. this was drummed into us at school by our prof, who made code commenting and documentation 15% of the grade. he also required we use informative variable names and write legible code and we'd get dinged heavily if we didn't. i think he was right and so i continue to try to follow his advice every day, and this includes code i write purely for myself, but it goes against my nature.

    i'm reminded of one time, early in my career, where i was given a small problem to solve. i solved it, then set about seeing what i could do to make it tighter and more clever, getting very caught up in the process. finally, i was very pleased to have something that used all kinds of nifty, bit-shifting tricks and whatnot and fit all on one line. i was pretty stoked, actually. awesome! it looked cool! the senior programmer mentoring me took a look at it, told me he thought it was way neat, but requested that i redo it all so that it a) was on many lines and 2) made sense to everyone else who'd have to come by later and figure out what i was doing. oh, and could i please be sure to include comments? lesson learned.

    --
    soupy twist
  87. Re:Remember: Sexism's Only Alright If It Favors Wo by Anonymous Coward · · Score: 2, Insightful

    The biggest problem with "brains work differently" is that "differently" is too easily interpreted as "better".

    Actually the biggest problem is that it is seeking a broad stereotype based on gender, and when uttered by the Senior VP Engineering could be taken as having hiring implications. "Ah, you have a pair of knockers, code you write will surely be friendly and well-documented" is no better than "ah, you have a pair of knockers, please don't try to reverse parallel park in front of my car!"
  88. Re:Remember: Sexism's Only Alright If It Favors Wo by bjourne · · Score: 2, Insightful

    How come you were *all* so scared that not a single one of you had the guts to ask for it to be removed? Even when it was demonstrated hands-on that a request like that would be perfectly acceptable?

    Peer pressure? Afraid of being seen as being afraid of seeing dicks?

    It is pretty clear why a female boss would put up a poster like that as a blatant display of power. Every guy that walks into her room will glance over the poster, compare his dick with the one in the poster and maybe get slightly uncomfortable. Imagine having a salary negotiation with your boss with ten dicks on the wall. She knew what she was doing, and that it was "illegal." Yet by having it, and intentionally breaking the rules, she demonstrates that she has more authority that anyone else.

  89. Oh, the word "bitch" by Slur · · Score: 2, Insightful

    It's such a sexist label, and I never use it in reference to women because - if you ask me - it's the kind of thing insecure men say when a woman asserts herself in a way that would be perfectly excusable for a man.

    Instead, I prefer to say "what a fucking asshole" or "what a fucking jerk" which are more equal-opportunity and apply equally well to men and women. I know it's weird to say, "Mary is such an asshole," but give it a try and you may find you enjoy the refreshing change.

    However, when I run into a particularly impenetrable bug in my code, I am wont to say "this bug is a cunt," but I don't think it's especially demeaning, as it is both funny and British-sounding.

    --
    -- thinkyhead software and media
  90. A simple Statistical effect by drolli · · Score: 2, Informative

    Yes. The social selection, at least in Europe is stronger for women which means that they have a stronger selection. Only the really interested ones will take a Job in programming. This means they will, in average, be better programmers. (you read correctly - not other, just better)