git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 4/4] CodingGuidelines: recommend singular they

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jun 7, 2021, 18:31 UTC
Message-ID
<875yyp4fun.fsf@evledraar.gmail.com>
In-Reply-To
<d2c079264955b3bd6c3a5ef77a9c3684206f8475.1623085069.git.gitgitgadget@gmail.com>
On Mon, Jun 07 2021, Derrick Stolee via GitGitGadget wrote:
Show 9 quoted lines
> From: Derrick Stolee <dstolee@microsoft.com>
> [...]
> If we use singular "they/them" pronouns instead of "he/him" or "she/her"
> pronouns, then we can avoid this congitive load on the reader.
>
> Using singular "they" is also incredibly efficient. Choosing a gendered
> pronoun is usually arbitrary between "he" or "she". Using constructs
> such as "he or she", "s/he", or "(s)he" are more complicated than
> singular "they".

Somewhat humorous & somewhat serious aside: Maybe it's just me, but when I read "incredibly efficient" I was thinking more of an energy drink filled with with nanites that would directly update my brain with the documentation, not the minutia of how we go about wording things :)

Continuing; Snipping around a bit in your E-Mail (a sentence copied from "[...]" above:

Show 10 quoted lines
> If the reader does not consider that pronoun to apply to them,
> then they can experience cognitive dissonance that removes focus from
> the information. [...]
> When choosing a gendered pronoun, that pronoun no longer applies to
> nearly half of possible readers. Even if we alternated between "he/him"
> and "she/her" perfectly evenly, we would still expect male and female
> readers to experience an incorrect pronoun half the time. However, some
> readers will not prescribe to either of these binary genders. Those
> readers hence suffer an incorrect pronoun the entire time. Singular
> "they" applies to every reader.

I'd expect most people to not actively read technical documentation and try to personally actively ascribe themselves to prose that clearly forms an example of something they may or may not do.

If that is how people commonly read documentation and find it off-putting I'd expect gendered language to be the least of our problems, since even with s/\bhe|she\b/they/g so much of what's left is still referring to hypothetical situations most users won't want to find themselves in.

Maybe I'm overthinking this, but per the above I'd think if this is a problem with losing the reader that we'd need more structural solutions to it in the common case, e.g. more guarded language that you should not read further if you don't care about XYZ aspect of the technical feature we're about to discuss.

Show 19 quoted lines
> Perhaps due to similar reasons, official style guides have changed their
> stance on singuler "they" in recent years. For example, the APA style
> guide changed their official recommendation in 2019 [1]. The MLA
> handbook also references helpful ways to use singular "they" [2]. While
> not fully endorsing it, the Chicago Manual of Style has removed its
> blanket ban on singular "they" [3] (the previous recommendation was to
> only use "it" as a singular non-gendered pronoun).
>
> [1] https://apastyle.apa.org/blog/singular-they
> [2] https://style.mla.org/using-singular-they/
> [3] https://libraries.indiana.edu/chicago-manual-style-singular-pronoun-they
>
> While not all styleguides are updating their recommendations, we can
> make a choice as a project to adopt the concept because of the
> efficiencies above, as well as the benefits of increased inclusion.
>
> To futher justify singular "they" as an acceptable grammatical concept,
> I include the careful research of brian m. carlson who collected their
> thoughts on this matter [2] (lightly edited):

It seems strange to attempt to summarize the previous discussion in the cover letter and here thoroughly, and make not even a passing mention of the counter-argument I presented to it in [1]; which resulted in most of the replies to that thread, and which the maintainer you're trying to get to apply this patch seemed to agree with. More on that at the end.

Show 6 quoted lines
> If we refer to a specific person, then using a gendered pronoun is
> appropriate. Examples within the Git codebase include:
>
> * References to real people (e.g. Linus Torvalds, "the Git maintainer").
>   Do not misgender real people. If there is any doubt to the gender of a
>   person, then use singular "they".
Sure.
> * References to fictional people with clear genders (e.g. Alice and
>   Bob).

I don't think using the Alice & Bob examples is necessarily a problem, but while we're discussing writing inclusive technical docs I think their use is probably a bigger problem than the pronoun issue you're presenting here.

That's because often using those characters is an overly clever reference to their use in crypto circles, and thus the developer often ends up writing documentation that simply assumes that the fact that "Eve" is the "Eavesdropper" is obvious to the reader.

Whenever I read documentation like that I end up Googling it and end up at the "Cast of Characters" section in the relevant Wikipedia page, just to see if I'm missing something. It doesn't make for accessible documentation.

I think the use in Documentation/gittutorial.txt that you didn't end up changing is a good example of something that would be better rewritten as "you" and then referring to "bob" as some generic remote repository instead, I haven't seen an overly clever example of Alice/Bob/Eve etc. in git.git's docs, but maybe it's there somewhere.

> * Sample text used in test cases (e.g t3702, t6432).

It seems strange to exclude arbitrary uses of passages from Beowulf and quoting of Plato in diff/merge tests from a commit that's otherwise arguing that arbitrary uses of "he" or "she" is going to lose the reader.

After all we do have a need to refer to the hypothetical user in some manner in the prose of our documentation, but those tests will pass if we rot13 the gendered-pronoun-using relevant text, or otherwise replaced all the input with gibberish following similar whitespace rules.

Show 11 quoted lines
> diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
> index e3af089ecf26..78cd399f7cf5 100644
> --- a/Documentation/CodingGuidelines
> +++ b/Documentation/CodingGuidelines
> @@ -648,3 +648,8 @@ Writing Documentation:
>   inline substituted text+ instead of `monospaced literal text`, and with
>   the former, the part that should not get substituted must be
>   quoted/escaped.
> +
> + When referring to an anonymous user, use singular "they/them" pronouns
> + as opposed to choosing between "he/him" and "she/her". [...]

I do think most of the changes in patches 1-3 were an obvious improvement and that we could really do with some general extension of preferred prose in the "Writing Documentation" section you're modifying.

I think advice about that should really start more generically, this seems like losing the forest for the trees. E.g. do we write things like:

    --force: You can use this to force the command to do XYZ
Or:
    --force: Skip sanity checks, do XYZ

I'd like to think that we'd mostly prefer the latter, and that also nicely sidesteps the issue you're tackling here.

I think any such advice would be better off by stating that our usual preference is to describe things in the abstract, continuing to preferring to assume that we're talking directly at the user:

    You can use use --force to disable the safety.

As opposed to needlessly introducing more verbose and possibly gendered prose:

    Should the user wish to disable the safety features, they can use
    the --force option.

This patch hunk also seems like it would be better worked into the first 3-4 paragraphs of "Writing Documentation" somehow, rather than tacking it at the end. That's where we've started to discuss US v.s. UK English, following existing conventions etc.

> [...] Do not use more complicated constructs such as "he or she" or
> "s/he".[...]

I note that one thing you didn't tackle at all in [1] & downthread is the problem we have that's really not present in the style manuals you're referring to.

That is, once we've done with avoiding verbosity per the above & preferring "you" over anything else we're usually left referring to a generic concept of an OS user.

Such a thing does not have any gender, and need not be tied to any particular life form. It's usually something authors of manuals of style don't need to consider outside of sci-fi novels.

I think we'd do well to prefer imitating how e.g. C library docs usually deal with that over any MOS, which is to just say something like "a user with permission xyz can...." or whatever. It's just weird to think of say a git command run by my sshd or www-data user as a "they", just as I wouldn't use "he" or "she".

> [...] This recommendation also applies to code comments and commit
> messages.

Since you were seeking ACKs in the CL this is overall a NACK from me. For reasons noted in the thread starting at [1] so I won't repeat most of that here; but briefly: I do think extending this to commit messages in particular is over-reaching.

Our installed documentation is one thing, but commit messages are much closer to the prose people are personally comfortable with, every hurdle we put to accepting patches, particularly ones that seem arbitrary and without good technical reasons are also something that harms inclusion & project velocity.

This whole thing also started in reply to one patch submitted by Lénaïc Huard (a non-native speaker of English), which he promptly re-rolled after this whole pronoun thread started. Grepping around with:

    git log --grep='\b(he|she)\b' -i origin/master

And mentally grepping out changes referring to specific people (just generic examples), I see one change in 2021, then you've got to go back to 2017 to find the next one (I just skimmed this, maybe I missed some), you very quickly get to 2014.

I think I'd feel even stronger that we didn't need this in transitory commit message examples even if it were more common, per the argument in [1].

But given how rare it is anyway seeking to enforce a policy on commit messages just seems like an over-reaction to a specific recent contribution.

In summary: My "NACK" is mostly on the "and commit messages". Just because *generally* we should be less nitpicky about personal preferred prose there, I'd feel the same way about insisting on US English only or whatever. We should be forgiving in what we accept there.

Installed docs are another matter entirely, I'm very much in favor of having some extensions to the existing style guide there. I do think as argued above we should start more generically, and it's not just bikeshedding. As argued above I think we should mostly be recommending different prose entirely, as apposed to now actively recommending "they" (which if you discuss e.g. "a user" mostly won't be needed).

1. https://lore.kernel.org/git/87wnrooa17.fsf@evledraar.gmail.com/
Previous: Johannes SchindelinNext: Felipe Contreras
Message 45 of 124 in “Use singular "they" when appropriate”
  1. 0/4 Use singular "they" when appropriateDerrick Stolee via GitGitGadget, Jun 7, 2021
  2. 2/4 *: use singular they in commentsDerrick Stolee via GitGitGadget, Jun 7, 2021
  3. Ævar Arnfjörð BjarmasonJun 7, 2021
  4. Derrick StoleeJun 7, 2021
  5. Johannes SchindelinJun 10, 2021
  6. Junio C HamanoJun 7, 2021
  7. Felipe ContrerasJun 7, 2021
  8. Emily ShafferJun 8, 2021
  9. 1/4 Documentation: use singular they when appropriateDerrick Stolee via GitGitGadget, Jun 7, 2021
  10. Ævar Arnfjörð BjarmasonJun 7, 2021
  11. Derrick StoleeJun 7, 2021
  12. Andrei RybakJun 7, 2021
  13. Ævar Arnfjörð BjarmasonJun 7, 2021
  14. Johannes SchindelinJun 10, 2021
  15. Felipe ContrerasJun 10, 2021
  16. Felipe ContrerasJun 7, 2021
  17. Phillip SusiJun 9, 2021
  18. Felipe ContrerasJun 9, 2021
  19. Phillip SusiJun 11, 2021
  20. Felipe ContrerasJun 11, 2021
  21. Derrick StoleeJun 10, 2021
  22. Junio C HamanoJun 11, 2021
  23. Felipe ContrerasJun 11, 2021
  24. Phillip SusiJun 12, 2021
  25. Junio C HamanoJun 8, 2021
  26. Kerry, RichardJun 8, 2021
  27. Junio C HamanoJun 8, 2021
  28. Derrick StoleeJun 9, 2021
  29. Junio C HamanoJun 10, 2021
  30. Emily ShafferJun 8, 2021
  31. Felipe ContrerasJun 8, 2021
  32. Kerry, RichardJun 9, 2021
  33. Felipe ContrerasJun 9, 2021
  34. Kerry, RichardJun 25, 2021
  35. Junio C HamanoJun 9, 2021
  36. Johannes SchindelinJun 10, 2021
  37. Felipe ContrerasJun 10, 2021
  38. Robert KarszniewiczJun 14, 2021
  39. 4/4 CodingGuidelines: recommend singular theyDerrick Stolee via GitGitGadget, Jun 7, 2021
  40. Junio C HamanoJun 7, 2021
  41. Derrick StoleeJun 7, 2021
  42. Junio C HamanoJun 8, 2021
  43. brian m. carlsonJun 10, 2021
  44. Johannes SchindelinJun 10, 2021
  45. Ævar Arnfjörð BjarmasonJun 7, 2021
  46. Felipe ContrerasJun 8, 2021
  47. Felipe ContrerasJun 7, 2021
  48. Phillip SusiJun 9, 2021
  49. Felipe ContrerasJun 9, 2021
  50. Robert KarszniewiczJun 7, 2021
  51. Felipe ContrerasJun 7, 2021
  52. Jeff KingJun 8, 2021
  53. Felipe ContrerasJun 8, 2021
  54. Derrick StoleeJun 9, 2021
  55. Felipe ContrerasJun 9, 2021
  56. brian m. carlsonJun 10, 2021
  57. Felipe ContrerasJun 11, 2021
  58. Emily ShafferJun 8, 2021
  59. Junio C HamanoJun 9, 2021
  60. Derrick StoleeJun 9, 2021
  61. 3/4 *: fix typosDerrick Stolee via GitGitGadget, Jun 7, 2021
  62. Emily ShafferJun 8, 2021
  63. Johannes SchindelinJun 10, 2021
  64. Derrick StoleeJun 10, 2021
  65. Johannes SchindelinJun 11, 2021
  66. Felipe ContrerasJun 7, 2021
  67. 0/4 Use singular "they" when appropriateDerrick Stolee via GitGitGadget, Jun 9, 2021
  68. 4/4 CodingGuidelines: recommend singular theyDerrick Stolee via GitGitGadget, Jun 9, 2021
  69. Felipe ContrerasJun 9, 2021
  70. 3/4 *: fix typosDerrick Stolee via GitGitGadget, Jun 9, 2021
  71. 2/4 *: use singular they in commentsDerrick Stolee via GitGitGadget, Jun 9, 2021
  72. Felipe ContrerasJun 9, 2021
  73. 1/4 Documentation: use singular they when appropriateDerrick Stolee via GitGitGadget, Jun 9, 2021
  74. Felipe ContrerasJun 9, 2021
  75. Ævar Arnfjörð BjarmasonJun 9, 2021
  76. Felipe ContrerasJun 9, 2021
  77. Junio C HamanoJun 10, 2021
  78. Junio C HamanoJun 10, 2021
  79. Felipe ContrerasJun 10, 2021
  80. brian m. carlsonJun 10, 2021
  81. Ævar Arnfjörð BjarmasonJun 10, 2021
  82. Felipe ContrerasJun 11, 2021
  83. Derrick StoleeJun 11, 2021
  84. Felipe ContrerasJun 11, 2021
  85. Ævar Arnfjörð BjarmasonJun 13, 2021
  86. Junio C HamanoJun 15, 2021
  87. Derrick StoleeJun 15, 2021
  88. Felipe ContrerasJun 15, 2021
  89. Junio C HamanoJun 14, 2021
  90. 0/4 Avoid gendered pronounsDerrick Stolee via GitGitGadget, Jun 15, 2021
  91. 2/4 comments: avoid using the gender of our usersFelipe Contreras via GitGitGadget, Jun 15, 2021
  92. 1/4 doc: avoid using the gender of other peopleFelipe Contreras via GitGitGadget, Jun 15, 2021
  93. 3/4 *: fix typosDerrick Stolee via GitGitGadget, Jun 15, 2021
  94. 4/4 CodingGuidelines: recommend singular theyDerrick Stolee via GitGitGadget, Jun 15, 2021
  95. Ævar Arnfjörð BjarmasonJun 15, 2021
  96. Felipe ContrerasJun 15, 2021
  97. Junio C HamanoJun 16, 2021
  98. Junio C HamanoJun 16, 2021
  99. Bagas SanjayaJun 16, 2021
  100. Derrick StoleeJun 16, 2021
  101. Ævar Arnfjörð BjarmasonJun 16, 2021
  102. Felipe ContrerasJun 16, 2021
  103. Junio C HamanoJun 17, 2021
  104. Derrick StoleeJun 17, 2021
  105. Felipe ContrerasJun 17, 2021
  106. Ævar Arnfjörð BjarmasonJun 17, 2021
  107. Felipe ContrerasJun 17, 2021
  108. brian m. carlsonJun 18, 2021
  109. Felipe ContrerasJun 18, 2021
  110. Felipe ContrerasJun 17, 2021
  111. Ævar Arnfjörð BjarmasonJun 17, 2021
  112. brian m. carlsonJun 18, 2021
  113. Ævar Arnfjörð BjarmasonJun 18, 2021
  114. Felipe ContrerasJun 18, 2021
  115. Junio C HamanoJun 19, 2021
  116. Junio C HamanoJun 28, 2021
  117. Felipe ContrerasJun 29, 2021
  118. Derrick StoleeJun 29, 2021
  119. Ævar Arnfjörð BjarmasonJun 29, 2021
  120. Felipe ContrerasJun 17, 2021
  121. Felipe ContrerasJun 17, 2021
  122. Felipe ContrerasJun 15, 2021
  123. Bagas SanjayaJun 12, 2021
  124. Phillip SusiJun 12, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.