7

A pattern I've noticed a lot from reading articles (on Stack Overflow and in other situations) is that programmers (and seemingly mathematicians) tend to use the term 'we' a lot.

For example (picking from some Stack Overflow suggestions): "When do we really need to use hibernate for our Java code?" and "Why do we use process when we do have threads?".

To my ear this sounds unnatural; what these people seem to mean is: "When do [I] really need to use hibernate for [my] Java code?"/"When do [you] really need to use hibernate for [you] Java code?" (where 'you' is an informal alternative to 'one')/"When [should one] use hibernate for Java code?" and "Why [are processes used] when threads [can be used instead]?".

Is there a particular reason programmers tend to use 'we' when discussing programming when really they mean 'I' or 'one', or when a statement could be made without using pronouns.

Does anyone know where this trend/habit started or why so many people do it?

Pharap
  • 1,484
  • 13
  • 16
  • [se] has a FAQ which defines the scope of the site, and yes your question seems out of scope based on their FAQ. What we can do here at [english.se] is help you to understand the use of the word "we" in contexts such as you describe. Having said that, I suggest you edit to remove the "post script" as that is not actually relevant to the question and might result in downvotes or closevotes here. – MetaEd Feb 25 '13 at 20:46
  • Main reason I asked at stack overflow was because I was hoping for opinions from people who actually have the habit. Before now I have seen someone ask which programming language people hate most and not get booted off (in fact it became very popular). I believe I touched a raw nerve. – Pharap Feb 25 '13 at 20:52
  • 5
    @Pharap: If you don't feel comfortable using we in your code comments, nobody will force you to do it. But I suggest you try to avoid feeling negatively towards others that do use it. They're part of a well-established tradition. – FumbleFingers Feb 25 '13 at 20:57
  • 3
  • 1
    @Pharap This question doesn't directly relate to "code"... I'd lean more towards asking this on programmers.stackexchange.com instead of here personally. But, it's a good question in either place. – WernerCD Feb 26 '13 at 01:05
  • 3
    Part of the issue might be that if you use "you" in a question title, the system flags it as subjective. (Not on all SE sites, and I think it might also depend on your rep, but it certainly happens for me on SO.) – Marthaª Feb 26 '13 at 02:06
  • 1
    Following Martha's comment, this is not a question for ELU but a bug report for MSO. You will note that the author of the first example question does not use "we" in the body of his post, but switches to "one", while the second question exhibits other issues such as poor punctuation. Not to mention that two examples do not a trend make. I am going with not constructive, but really this is a loaded question and thus a NARQ. – RegDwigнt Feb 26 '13 at 10:13

6 Answers6

16

You'll see that in every field, not just programming. It 'means' that the problem or practice or need or stupid behavior is endemic to the field, not just to isolated practitioners.

For instance, in my old field of literary scholarship, I might ask plaintively,

Why, just when the advent of personal computers made it possible to create handsome, intelligible footnotes and marginal notes, have we decided to adopt the loathsome social-sciences practice of inline citation, which disfigures the typographic beauty of my page and renders my skillfully crafted prose difficult to follow?

I didn't decide to adopt that practice; I trust that you as a fellow-scholar didn't decide to adopt that practice; but somehow or other we have adopted that practice, and I'd like to know Why? (And what the hell you and I and other right-minded people can do about it.)

  • 11
    Wikipedia calls this the author’s we. – MetaEd Feb 25 '13 at 20:51
  • 4
    @MετάEd Wikipedia may call it the authorial we, but I contemn the authorial we and scorn to practice it: I fought hard with my dissertation advisor to discard the pretentious and irresponsible authorial we and replace it with the veracious authorial I. – StoneyB on hiatus Feb 25 '13 at 20:55
  • 4
    Now tell us how you really feel. – MetaEd Feb 25 '13 at 20:56
  • 6
    @MετάEd Pretty good now I've got that off my chest. – StoneyB on hiatus Feb 25 '13 at 20:57
  • The situations I usually encounter it in were more akin to patronising explanations than talking about programmers as a whole. Generally the usage seems illogical in a lot of contexts programmers use 'we' in. For example: "Q: When should we release an object if we are returning it?", the asker is clearly referring to themselves, but chose to use 'we' instead of a more logically formatted question. A more ridiculous example would be "Q: Can we clone a repository if we are a valid user?" in which the plural 'we' is at conflict with the singular 'user'. – Pharap Feb 25 '13 at 21:00
  • 3
    @Pharap It's not illogical but rhetorically precise: on SE questions are deemed to be asked both of and on behalf of the entire community, and of users-yet-to-come. And it's a damn sight less annoying than the impersonal one. – StoneyB on hiatus Feb 25 '13 at 21:06
  • 1
    @StoneyB I personally see nothing wrong with using wording such as "Is is possible to close a repository as a valid user" or "Can you clone a repository if you're a valid user". While it could be argued these are quite informal for a Q&A site, I would argue that questions like these are more familiar and easier to read. Ultimately my question was more aiming at why the odd usage of 'we' is so common among programmers, but regardlessly my point about there being better alternatives is clear, right? – Pharap Feb 25 '13 at 21:19
  • 1
    @Pharap Alternatives, yes; better, enh. None of them bother me. – StoneyB on hiatus Feb 25 '13 at 21:23
  • 7
    Or perhaps we're just lonely. – Sven Yargs Feb 25 '13 at 21:28
  • @StoneyB Not unexpected, it's one of those things that appear less significant from the outside. However I (and a fellow programmer I often discuss such things with) both agree that in most circumstances the usage of 'we' feels patronising, which is contrary to the writer's intention in most cases. Ultimately it's a matter of opinion, but it's people's opinions on the matter that I'm interested in. – Pharap Feb 25 '13 at 21:36
  • I would definitely edit "Q: Can we clone a repository if we are a valid user?" to "Q: Can I clone a repository if I am a valid user?". As 'I' ranges over all people individually rather than 'we' which ranges over groups of people collectively. – Dan D. Feb 26 '13 at 01:41
  • 1
    @StoneyB: We feel your pain. – Kramii Feb 26 '13 at 10:02
10

I learned this practice from mathematics professors, who said that we use "we" in mathematical writing to be welcoming and inviting to the reader - you and I are doing math together. Seems a little silly now that I'm writing it, but this is how I learned it.

user327301
  • 209
  • 1
  • 2
  • That at least sheds a bit of light on things considering the amount of mathematicians that get involved in programming. I have to disagree on that philosophy though, I think 'we' sounds creepy at the least and patronising at the worst (if being used all the time). A very useful response. – Pharap Feb 26 '13 at 00:43
  • @Pharap You can interpret it as patronizing if you like, but it certainly isn't how it is meant -- it is used not just in textbooks but papers written to be read by peers. – starwed Mar 16 '13 at 02:15
  • For research papers there might be a simpler reason. Most papers (at least in my field, and I'm guessing in most science and engineering) are multi-author papers. The natural option is then to use 'we'. I suppose that single-author papers could use 'I', but with double-blind journal submissions 'we' would be consistent with other papers. – user327301 Mar 16 '13 at 06:25
  • Thank you @raoulcousins. I can see the good intentions in professors but maybe not realizing they are conditioning students to do likewise. Pronouns are so endemic, functions will be named like my_rebalance(). Wait, you know it is yours and you know I know it is yours, all those extra characters, think of the electrons. The software CPU portion of my brain thinks it is more efficient without any notions of possession: We, our, my. Professors, please tell your students: No pronouns in code unless necessary. – gseattle May 21 '18 at 22:14
8

Your question triggered a few minutes of introspection as I went over the document I had written this afternoon in which I had taken out a few I's and replaced them with the plural under discussion.

Why did I do it? Now that I think about it, it is a consciously nurtured habit. So, here is the hypothesis based on my recollection of my programming days: Programmers are loners, with long bouts of concentration and Eureka moments where their own stupidity or that of someone else shines through the code. Hold this thought for a second. The good ones are particularly good at this and are orders of magnitude better than the 'wannabes' and are often resented by the struggling programmers (who will be future managers) and termed arrogant and not team players.

At least this is how I developed this habit — going out of my way to show teamwork and not throwing it in someone's face with an accusative 'you'.

RegDwigнt
  • 97,231
  • 5
    +1, pretty much the same for me. "You" is too easily accusative, and "I" is too easily arrogant (even when we don't intend it as such). "We" is a good middle ground - and in a professional setting, is often the only correct term, when multiple people work on the same piece of code. – Izkata Feb 26 '13 at 03:15
6

This is a rhetorical narrative voice which is used in nonfiction. It has the effect of creating a sense of level ground between the narrator and audience by creating an inclusive feeling. There is a separation between us and the subject matter, but we (narrator and audience) are both on the same side of it, approaching it together as equals.

It is not confined to academic presenting or writing. For instance, a cooking recipe might be written in various voices, including we:

Imperative: Then, place the ingredients into the skillet and simmer on low heat.

We: Then we place the ingredients into the skillet and simmer on low heat.

I: Then I placed the ingredients into the skillet and simmered them on low heat.

You: Then you place the ingredients into the skillet and simmer on low heat.

All the various voices create their own mood.

The first person plural we-voice is particularly suitable for presenting in front of an audience.

Programmers have sat through lots of lectures in school, so the we voice is drilled into their heads. How do we know this is true? We solve this equation ...

You, we and one are all different voices which mean the same thing: any person at all in an applicable situation, but with different moods.

Kaz
  • 4,902
  • 18
  • 18
  • 1
    I have to do a replace-all of "we" and "our" when reviewing code to avoid the distraction they cause in my mind, almost like a siren warning of unknowns. Who is this "we"? Yes I think they were impressed by professors using that voice and now they would like to be impressive. It's how some mothers talk to children, "We use the spoon to eat our peas" preparing them for success, and I find that patronizing, er, matronizing. "# We set the maximum we want in our code" can just be # global maximum, fewer words. Pronouns do not belong in code. We are glad others have joined our club disliking it. :/ – gseattle May 21 '18 at 21:47
  • @gseattle I just stumbled upon this comment a few years later. I'm glad it's not just me that sees the connection to that condescending way some adults like to talk to children: "We don't do that, do we Peter?". I agree about trying to keep pronouns out of code as well. There are rare occasions where they're necessary, e.g. when explaining the history of something and thus talking in first person, but generally it's better to stick to "This code does X" or "The maximum value of Y" - simple facts. – Pharap Jan 12 '23 at 20:55
4

As a programmer myself, I consciously use "We" in the code comments and other written media. Why? Because at any time, I consider there are at least two parties involved - the person that wrote it and the person reading it. One is in the past and the other is in the present. The one in the present is trying to follow what the one in the past meant.

In other words, I see it as a conversation through time, where the person who wrote the code is trying to explain something in a way that involves the person trying to understand it. We is more inclusive - I wrote it, you need to fix it, let's figure it out together.

This is also why I never use we when I am explaining my work in person, which is also usually verbally.

Carl
  • 149
  • 1
    In a team it can be literally more than two people, not even considering the time dimension. – 0xC0000022L Feb 26 '13 at 01:50
  • This explains this perfectly, in fact I was just about to write saying this but you have worded it better than I could. Well done! +1 – Vality Jun 18 '14 at 20:24
  • Just got down voted. There was no mention of why and therefore the person who down voted me has done nothing to improve the future quality of my answers. – Carl Jul 16 '14 at 19:54
  • 1
    Well have another up vote Carl. As a programmer I often do this. It's why I even came here. I was wondering why it is. It's so old that I don't really know why I do it. I have always done it. I'm sure I picked it up at very early on but that's lost to me as that was a long time ago. I don't think I will have an answer. My mum taught engineering (not as a teacher: at her work) and she did it too. It's so engrained that I really don't know that there is any single answer. Clearly it's how it is for some people but your explanation - I don't think that's it for me. But that's fine. – Pryftan Jan 12 '23 at 20:01
2

I see it as induction into a culture or practice. We're not describing mere preference - there's an element of normativity in our preferences. It's like when a teacher says to a child, "We raise our hands when we have a question." That statement isn't mere description of a state of affairs - it's a statement about what we should do - the "we" being the culture one is being inducted into.

JKim
  • 149