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?

8
  • 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. Commented Feb 25, 2013 at 20:57
  • 3
    Related: Writers: In what narrative mode should you explain a process or task?
    – SF.
    Commented Feb 25, 2013 at 21:43
  • 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
    Commented Feb 26, 2013 at 1: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ª
    Commented Feb 26, 2013 at 2: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
    Commented Feb 26, 2013 at 10:13

6 Answers 6

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.

2
  • 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
    Commented May 21, 2018 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
    Commented Jan 12, 2023 at 20:55
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.)

12
  • 11
    Wikipedia calls this the author’s we.
    – MetaEd
    Commented Feb 25, 2013 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. Commented Feb 25, 2013 at 20:55
  • 4
    Now tell us how you really feel.
    – MetaEd
    Commented Feb 25, 2013 at 20:56
  • 6
    @MετάEd Pretty good now I've got that off my chest. Commented Feb 25, 2013 at 20:57
  • 7
    Or perhaps we're just lonely.
    – Sven Yargs
    Commented Feb 25, 2013 at 21:28
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.

4
  • 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
    Commented Feb 26, 2013 at 0: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
    Commented Mar 16, 2013 at 2: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
    Commented Mar 16, 2013 at 6: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
    Commented May 21, 2018 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'.

1
  • 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
    Commented Feb 26, 2013 at 3:15
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.

4
  • 1
    In a team it can be literally more than two people, not even considering the time dimension. Commented Feb 26, 2013 at 1: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
    Commented Jun 18, 2014 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
    Commented Jul 16, 2014 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
    Commented Jan 12, 2023 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.

Not the answer you're looking for? Browse other questions tagged .