Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Falsehoods Programmers Believe About Gender
  1. There are two and only two genders.
  2. Okay, then there are two and only two biological genders.
  3. Gender is determined solely by biology.
  4. Okay, it’s mostly determined by biology, right?
  5. Please tell me it’s determined by DNA.
  6. Gender can be reliably determined through visual means. After all, no man would ever wear a burka.
  7. Once gender is set, it never changes.
  8. Even if the gender can change, it will only change from the one value to the other value.
  9. Only one gender can be “active” at the same time.
  10. We’re tracking gender now, so we’ve always tracked it.
  11. I only need to be concerned with human gender.


xburgos commented Mar 16, 2016

How can somebody have 2 genders simultaneously? Unless you're talking about having biological, perceived and assumed, but still, within those, you can't have more than 1.

zyphlar commented Jun 25, 2016 edited

I had to write a medical system similar to MyFitnessPal that estimated metabolic targets based on gender, since there are measurable differences in metabolism between men and women -- unfortunately I had to give up and use a binary, but I did try to allow for it being the gender your metabolism is most aligned with, and give each user the opportunity to change it instead of leaving it up to the doctor. Turns out the USDA doesn't really have much/any data on trans/intersex metabolism, which I think should change. (Opportunity for original research/reporting?) My best guess would have been to try and interpolate those values somehow (on a scale from 0-100 how masculine is your metabolism?) but given how complex the calculations already were and how approximate the results already were I just had to call it quits, name the field as best I could, and move on. 😞

jensreu commented Oct 19, 2016

You should add "people are comfortable telling you what gender they belong to" - here it's fairly common (depending on social strata etc etc) to give "other" or "Not Disclosed" if the option is available because for some it's considered an inconsiderate question. I am a man, biologically, socially, etc. But I fill in gender as "other" or "Not Disclosed" if available

AndyOGo commented Oct 20, 2016

Actually 1) is not a falsehood. Objectively there are only male and female.
I would not count all the possible sexual perversions existing as gender, it's just an irrational creation it's not a fact.


@AndyOGo : so to you, people described in this page are perverts somehow? Or at least, they should not count?

katef commented Oct 25, 2016

@AndyOGo When you say "objectively", I think you're talking about sex, whereas this list is about gender. And even for sex, that's wrong.


ISO has a standard for "human sexes". It's not complete by any means, but it does have more than two values.

dhasenan commented Nov 5, 2016
  1. My system needs to care about users' gender.
  2. Everyone has a gender.

When will we have an organization that maintains an exhaustive list and numbered code for genders, and can tell us which ones are and aren't just different words for the same thing and what the differences are between them, and that we can refer people to who don't feel represented? We could call it the Unigender Consortium.


Oh my God. This is Github, not Tumblr.


Sex is biological and sometimes referred to as 'gender'.
Gender identity is a different thing but is also referred to as 'gender'.
In both cases there are more than two.
This information comes from medical practice, not Tumblr.

Facebook do it best, they let you choose some text that describes your gender, as it doesn't matter in any context really outside of health services where it is confidential. You don't need an ID field to associate with it, you just need a text field.

Other is not a good term, as it suggests the group who don't fit into what you perceive as common are somehow less valuable (the term for this is 'othering' and in it's worst form it causes ethnic cleansing amongst other things).

lewisje commented Jan 17, 2017

@Pr0methean, the ISO and IEC may be up to the job, and I know that the Library of Congress has some references; I also found this informative classification of the infamous "list of 58 gender options" from that story that ABC (United States) ran when Facebook was first opening up its options for user-specified gender.

Pds314 commented Mar 14, 2017

"I only need to be concerned with human gender."

This is true for any nonhuman besides possibly AI, aliens, or maybe a handful of animals that can speak. If we need to enter gender information for a cat, we have no way of knowing if the cat has any gender at all.
Maybe it sees itself as female.
Maybe male.
Maybe both, neither, or something else entirely.
Maybe it switches around on a daily basis, or maybe it just sees itself as a cat or even just as itself.
Or maybe a cat is not sophisticated enough to even have a self-concept, so talking about gender makes no sense.

The problem is, cats can't speak. They can't write. They can't communicate to us with any degree of precision. That's why it only makes sense to talk about biological sex of cats, not the gender. The same is true of all other nonhuman entities I've ever heard of. Now sure, AI or aliens or exceptionally-educated chimpanzees might have meaningful distinctions here, but the point is, if it can't answer questions, we don't care about its gender because it cannot be determined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment