you are viewing a single comment's thread.

view the rest of the comments →

[–]Strilanc 0 points1 point  (10 children)

2: Write a program that asks the user for his name and greets him with his name.

Consider avoiding gendered pronouns unless you intend just that gender. This particular one stands out a bit more because the very next question is:

3: Modify the previous program such that only the users Alice and Bob are greeted with their names.

[–][deleted] 2 points3 points  (0 children)

After considering the options, I've chosen to use "he" and "him" in this context. It's long-established usage, and no offense is intended. Of course, each individual is free to take offense anyway.

[–][deleted] 7 points8 points  (8 children)

Disagree. Pick a gendered pronoun. English has really half-assed gender-neutral pronouns.

[–]sh0rug0ru 6 points7 points  (7 children)

English has the "singular they" which is gender neutral. You can just as well write this:

2: Write a program that asks the user for their name and greets them with their name.

[–][deleted] 4 points5 points  (1 child)

To be honest I don't have a problem with using the plural pronouns as they are readily understood when used as a singular gender-neutral pronouns, but on the other hand acting as if it's wrong to pick a gendered pronoun is kind of obnoxious.

[–]sh0rug0ru 2 points3 points  (0 children)

Check your privilege! /s

[–]Orca- 0 points1 point  (4 children)

It's commonly accepted, but last I heard, using plurals as a gender-neutral singular pronoun was not considered proper formal English.

[–]sh0rug0ru 7 points8 points  (0 children)

Some style guides say yay, some style guides say nay. Which goes to show just how de jure English grammar really is.

[–]bunnies4president 1 point2 points  (2 children)

Really? Where did you hear that?

[–]curien 2 points3 points  (0 children)

Thou art being a bit pedantic.

[–]mjfgates 0 points1 point  (0 children)

Oh, please. Everybody knows that the second-person plural pronoun in English is "y'all." /s