Rendered at 01:55:32 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
EuanReid 1 days ago [-]
There are so many times the Oxford comma prevents ambiguity. I have yet to see a counterexample. Commas separate list entries, don't change it for the last one.
n4r9 1 days ago [-]
Wikipedia has an interesting example where it's still ambiguous:
They went to Oregon with Betty, a maid, and a cook.
It's not clear whether Betty is the maid. But tbh removing the comma doesn't help either.
Personally if I wanted to indicate that Betty was the maid I would put "a maid" between brackets or hyphens.
KolenCh 10 hours ago [-]
It eliminated some ambiguity. It should be quite self evident that even without an example it is quite impossible to eliminate all ambiguity (it’s a feature of human language.)
The more important property is that it never introduces more ambiguity. Ie at worst it doesn’t help, but not making it worse.
pianom4n 7 hours ago [-]
It did introduce ambiguity though. Without the comma it is 100% clear that sentence lists 3 people.
hellojesus 1 days ago [-]
Or just switch the order if Betty is the maid and you don't want to provide additional context:
```
They went to Oregon with a cook and Betty, a maid.
```
rawgabbit 1 days ago [-]
If Betty was the maid and the cook, I would write...
They went to Oregon with Betty who was a maid and a cook.
If it was three people, I would write...
They went to Oregon with Betty, the maid, and the cook.
kstrauser 1 days ago [-]
The maid implies there was just one. Who travels with their only maid? Who will keep the manor lights on?
1 days ago [-]
mmooss 1 days ago [-]
> They went to Oregon with Betty, the maid, and the cook.
Betty could be the maid. English meaning depends partly on word order:
They went to Oregon with the maid, Betty, and the Cook.
Still ambiguous.
They went to Oregon with the maid, the cook, and Betty
They went to Oregon with the maid, the cook and Betty
In the former, I suppose the maid might be the cook also. The latter moves more easily and with less ambiguity.
rawgabbit 1 days ago [-]
If Betty was the maid, I would write…
They went to Oregon with Betty the maid and the cook.
dheera 1 days ago [-]
This sounds like a case where we should just change the syntax. If Betty is the maid it should be written:
They went to Oregon with Betty [a maid], and a cook.
1659447091 1 days ago [-]
This is how I was taught. Use ( ) or -- -- here and the Oxford comma for list of 3 or more.
I get lazy with adding the comma before the "and" in list, and without fail I hear my grandmother/father/teachers pointing out how wrong I am for doing so. Same for my use of semicolons followed by "and" or "but".
I never realized the Oxford comma was even something up for debate.
dullcrisp 1 days ago [-]
(They (went (to Oregon) (with ((Betty (a maid)) and (a cook))))).
((That (is (the (most natural) syntax))) and ((all (of us)) (should (switch (to it))))).
thom 1 days ago [-]
Many years ago working on natural language to SQL, when we had ambiguities this is how we’d clarify things with the user (albeit with the minimal amount of brackets necessary).
yellowapple 20 hours ago [-]
It seems you're speaking with a Lisp :P
readthenotes1 1 days ago [-]
It looks like you might have learned how to diagram a sentence as a youth
1 days ago [-]
luxuryballs 1 days ago [-]
“a maid and cook.”
“a maid, and cook.”
forgetfreeman 1 days ago [-]
As written it is perfectly clear that Betty is neither the maid nor the cook, neither of whom the author bothered to name in this sentence. If that wasn't the author's intention they should grammar better.
1 days ago [-]
GoodJokes 1 days ago [-]
[dead]
tzs 21 hours ago [-]
> There are so many times the Oxford comma prevents ambiguity. I have yet to see a counterexample.
In every counterexample that I have seen the ambiguity involves an appositive phrase set off by commas which is lurking nearby in the sentence.
Commas are the most common way to set off an appositive phrases but most sources say that em dashes and parenthesis are also acceptable.
This means you can use a simple rule and not have to worry about ambiguous lists: (1) always use the Oxford comma, and (2) if you need to set off an appositive phrase for an item in the list set it off with em dashes or parenthesis.
stephencanon 1 days ago [-]
"I'd like to thank my mother, Ayn Rand, and God" is the usual example.
Yes, you can reorder the list to remove the ambiguity, but sometimes the order of the list matters. The serial comma should be used when necessary to remove ambiguity, and not used when it introduces ambiguity. Rewrite the sentence when necessary. Worth noting that this is the Oxford University Press's own style rule!
alistairSH 1 days ago [-]
I always heard this one...
We invited the strippers, JFK, and Stalin to the party. [three groups invited - strippers, a president, and a premier]
We invited the strippers, JFK and Stalin to the party. [the president and premier are strippers]
Very different visual conjured by those two sentences.
comprev 1 days ago [-]
"John helped his uncle, Jack off a horse"
"John helped his uncle Jack off a horse"
Two very different outcomes...
h4ch1 1 days ago [-]
shouldn't there be another comma after Jack?
John helped his uncle, Jack, off a horse.
Because while speaking it I only pause after uncle and "Jack off a horse" together next. feels like there should be another pause after Jack?
PaulDavisThe1st 1 days ago [-]
I'd prefer:
We invited the strippers, JFK and Stalin, to the party [two strippers, named JFK and Stalin]
if the goal is to minimize ambiguity.
al_borland 1 days ago [-]
I can see it being tiresome to read text where the author is continuously interjecting clarification with brackets.
PaulDavisThe1st 1 days ago [-]
The square-bracket clarifications here are meta-text designed to absolutely clarify the intended reading of the preceding text, so that the reader can contrast their understanding with the intended one.
There is no suggestion that one would do this in "regular" text.
Avshalom 1 days ago [-]
I mean first off: no the exact same image is conjured because we are reading this in context of knowing who jfk and stalin are and we know they aren't strippers and all language is contextual.
That said:
We invited the stripper, JFK, and Stalin to the party.
We invited the stripper, JFK and Stalin to the party.
The supposed ambiguity is back. Although again there is no ambiguity to the reader. The juxtaposition of the two versions wouldn't work as a joke if there was any ambiguity
alistairSH 1 days ago [-]
Fine, I’ll be boring…
We invited the strippers, Krystal and Britney, to the party.
We invited the strippers, Krystal, and Britney, to the party.
And yes, if strippers is made singular, poor Krystal becomes Schrödinger‘s Stripper.
robertoandred 1 days ago [-]
If JFK and Stalin were strippers, there’d be a comma after Stalin to denote the parenthetical clause.
yellowapple 20 hours ago [-]
Removing the Oxford comma not only fails to resolve the ambiguity, but introduces yet more ambiguity by implying Ayn Rand to be God.
Joker_vD 1 days ago [-]
Just put the colon there if you need to introduce a list, it's one of its functions. "I'd like to thank: my mother, Ayn Rand and God". The same goes for that "two strippers" example: "We invited the strippers: JFK and Stalin, to the party".
mmooss 1 days ago [-]
I want you to know that I would only write this in a discussion nitpicking about grammar: :)
> "I'd like to thank: my mother, Ayn Rand and God".
A colon should not connect a verb and its objects; generally you need an independent clause before the colon (i.e., a clause that could be a complete sentence). One could properly say,
I'd like to thank the following: My mother, Ayn Rand and God.
Also, these examples leave ambiguity. Your mom could be Ayn Rand, and if she was, then you might very well think she was God, or be making a joke about it.
> "We invited the strippers: JFK and Stalin, to the party"
Nope. A colon isn't a parenthetical in the middle of a sentence; that is, you can't continue the sentence after a colonic phrase (there's no such thing so I made up that term :D ). And again, the clause before that colon is not an independent clause. One can use parentheses (of course) or em dashes for parenthetical phrases:
We invited strippers (JFK and Stalin) to the party.
We invited strippers - JFK and Stalin - to the party.
A proper colon might be as follows:
We invited strippers to the party: JFK and Stalin!
But I'd put an em dash there (and to heck with LLMs and their em dash overusage).
bennettnate5 1 days ago [-]
It's common in English writing to interject additional details in on a noun by using a phrase separated with commas. I've personally found Oxford commas can in certain cases make it unclear whether you're interjecting or not, like so:
Alice, the cook of the house and the guest were very chatty that evening.
Alice, the cook of the house, and the guest were very chatty that evening.
In the second, is Alice the cook of the house or not? This is the ambiguity of Oxford commas.
function_seven 1 days ago [-]
If you’re one to omit the Oxford comma in your writing, then how do I resolve the ambiguity in your first example?
t0mek 1 days ago [-]
Only tangentially related (but hey, it's HN) - I'm so happy about the support/requirements for trailing commas in the modern language syntax:
x = [
123,
456,
789,
];
It makes editing such a list so much easier. Also, the commit diffs are cleaner (you don't need to add comma to the last element when appending a new one).
echohack5 1 days ago [-]
The oxford comma debate is so annoying because it clearly has nothing but advantages. Removing commas from a delimited list does nothing to resolve ambiguity, whether lexicographically or syntactically.
It's so useful as a delimiter and anti-ambiguity machine, that you don't even need spaces for it to work! See CSV or Japanese.
mmooss 1 days ago [-]
> The oxford comma debate is so annoying because it clearly has nothing but advantages.
.. if you care only about data communication and have no sense of beauty, aesthetics, rhythm or personality in writing.
Izkata 1 days ago [-]
My very first programming language doesn't use commas:
x: [
123
456
789
]
black_knight 1 days ago [-]
I like this:
x = [ 123
, 456
, 789
]
tommy_axle 1 days ago [-]
Nah, prepending will lead to a messier diff than the parent example.
1 days ago [-]
ajdude 1 days ago [-]
My heroes are my parents, Superman and Wonder Woman!
rationalist 1 days ago [-]
If Superman and Wonder Woman were the parents, wouldn't a dash or colon be more appropriate than a comma?
orev 3 hours ago [-]
When commas are used as part of a list of items, I treat them as if they’re bullet points written on a single line. For example, if you have items in a bullet list, but don’t want to use up all that vertical space, join the list into a single line and replace the bullets with commas. Or if the items are more complex, use a semicolon as the separator.
happytoexplain 1 days ago [-]
Spoilers: There is no "why not" in the article (aside from "tradition").
hilbert42 21 hours ago [-]
I give up. How can we ever expect the subtleties of the Oxford comma—or perhaps whether a question mark should end a rhetorical question—to be widely understood when something as simple as use of the apostrophe is widely misunderstood?
If so many consider the apostrophe so complex and confusing to the extent some grammarians are now advocating we abandon its possessive form then for the life of me I cannot see how we can expect more complex rules such as the I before E, except after C with its many exceptions ever to be understood by everyone.
Both the greengrocer's apostrophe (pl: DVDs not DVD's) and the possessive form of the apostrophe are about the simplest notions one can learn in English.
Yes, these rules have nuisances but I'm not referring to them but only their most common simplest forms. (By that I'd exclude unusual forms such as whether it's best to use 'greengrocer's apostrophe' or 'greengrocers' apostrophe' or that it doesn't matter. Or whether three 'Ss' should be used when using the apostrophe such as Kiss's Building — the name brazenly embellished in the frieze on a building near me.)
My marks in English at school were rarely ever much above pass grade but even I had no difficulty in understanding the possessive apostrophe. In primary school we were taught this simplest of rules by just asking "who owns it?" then drop in the apostrophe immediately thereafter.
Q: Who owns the bat? If only one boy owns it then the answer is "It's the boy's bat." If multiple boys own it then "It's the boys' bat."
I cannot think of any rule much simpler than this, same with the greengrocer's apostrophe where just adding an 's' sans any apostrophe is similarly straightforward.
It seems to me that teachers of English ought to actually learn to teach as they did when I was a kid.
It's clear to me we need to bring the population up speed on the basics before venturing into esoterica, for all but the cognoscenti the Oxford comma can wait.
gxd 1 days ago [-]
I banned the Oxford comma in all writing within my individual business. In fact, I released an entire 100K+ word narrative game without using Oxford commas (I consider it a bug if I left any behind).
card_zero 1 days ago [-]
I use it religiously just for shits, and giggles.
culi 1 days ago [-]
The Oxford Comma is not used with just two items. This is just improper grammar.
I mean you do you but don't call this the Oxford Comma.
Rendello 23 hours ago [-]
You could make it a compile error like Zig (previously) did with tabs!
leemelone 1 days ago [-]
It is important to use the Oxford Comma because it is commonly accepted, fits with tradition, and is just correct.
PaulDavisThe1st 1 days ago [-]
.. and in your example, unnecessary.
Or maybe I missed the joke.
bluGill 1 days ago [-]
It is necessary because of Tradition.
I reject the validity of other traditions. Also: repent and join my religion.
smitty1e 1 days ago [-]
There is a book "Eats Shoots and Leaves" that gets at the importance of knowing when (and when not) do deploy the punctuation:
Personally if I wanted to indicate that Betty was the maid I would put "a maid" between brackets or hyphens.
``` They went to Oregon with a cook and Betty, a maid. ```
Betty could be the maid. English meaning depends partly on word order:
Still ambiguous. In the former, I suppose the maid might be the cook also. The latter moves more easily and with less ambiguity.I get lazy with adding the comma before the "and" in list, and without fail I hear my grandmother/father/teachers pointing out how wrong I am for doing so. Same for my use of semicolons followed by "and" or "but".
I never realized the Oxford comma was even something up for debate.
((That (is (the (most natural) syntax))) and ((all (of us)) (should (switch (to it))))).
“a maid, and cook.”
In every counterexample that I have seen the ambiguity involves an appositive phrase set off by commas which is lurking nearby in the sentence.
Commas are the most common way to set off an appositive phrases but most sources say that em dashes and parenthesis are also acceptable.
This means you can use a simple rule and not have to worry about ambiguous lists: (1) always use the Oxford comma, and (2) if you need to set off an appositive phrase for an item in the list set it off with em dashes or parenthesis.
Yes, you can reorder the list to remove the ambiguity, but sometimes the order of the list matters. The serial comma should be used when necessary to remove ambiguity, and not used when it introduces ambiguity. Rewrite the sentence when necessary. Worth noting that this is the Oxford University Press's own style rule!
We invited the strippers, JFK, and Stalin to the party. [three groups invited - strippers, a president, and a premier]
We invited the strippers, JFK and Stalin to the party. [the president and premier are strippers]
Very different visual conjured by those two sentences.
"John helped his uncle Jack off a horse"
Two very different outcomes...
John helped his uncle, Jack, off a horse.
Because while speaking it I only pause after uncle and "Jack off a horse" together next. feels like there should be another pause after Jack?
We invited the strippers, JFK and Stalin, to the party [two strippers, named JFK and Stalin]
if the goal is to minimize ambiguity.
There is no suggestion that one would do this in "regular" text.
That said:
We invited the stripper, JFK, and Stalin to the party.
We invited the stripper, JFK and Stalin to the party.
The supposed ambiguity is back. Although again there is no ambiguity to the reader. The juxtaposition of the two versions wouldn't work as a joke if there was any ambiguity
We invited the strippers, Krystal and Britney, to the party.
We invited the strippers, Krystal, and Britney, to the party.
And yes, if strippers is made singular, poor Krystal becomes Schrödinger‘s Stripper.
> "I'd like to thank: my mother, Ayn Rand and God".
A colon should not connect a verb and its objects; generally you need an independent clause before the colon (i.e., a clause that could be a complete sentence). One could properly say,
Also, these examples leave ambiguity. Your mom could be Ayn Rand, and if she was, then you might very well think she was God, or be making a joke about it.> "We invited the strippers: JFK and Stalin, to the party"
Nope. A colon isn't a parenthetical in the middle of a sentence; that is, you can't continue the sentence after a colonic phrase (there's no such thing so I made up that term :D ). And again, the clause before that colon is not an independent clause. One can use parentheses (of course) or em dashes for parenthetical phrases:
A proper colon might be as follows: But I'd put an em dash there (and to heck with LLMs and their em dash overusage).Alice, the cook of the house and the guest were very chatty that evening.
Alice, the cook of the house, and the guest were very chatty that evening.
In the second, is Alice the cook of the house or not? This is the ambiguity of Oxford commas.
It's so useful as a delimiter and anti-ambiguity machine, that you don't even need spaces for it to work! See CSV or Japanese.
.. if you care only about data communication and have no sense of beauty, aesthetics, rhythm or personality in writing.
If so many consider the apostrophe so complex and confusing to the extent some grammarians are now advocating we abandon its possessive form then for the life of me I cannot see how we can expect more complex rules such as the I before E, except after C with its many exceptions ever to be understood by everyone.
Both the greengrocer's apostrophe (pl: DVDs not DVD's) and the possessive form of the apostrophe are about the simplest notions one can learn in English.
Yes, these rules have nuisances but I'm not referring to them but only their most common simplest forms. (By that I'd exclude unusual forms such as whether it's best to use 'greengrocer's apostrophe' or 'greengrocers' apostrophe' or that it doesn't matter. Or whether three 'Ss' should be used when using the apostrophe such as Kiss's Building — the name brazenly embellished in the frieze on a building near me.)
My marks in English at school were rarely ever much above pass grade but even I had no difficulty in understanding the possessive apostrophe. In primary school we were taught this simplest of rules by just asking "who owns it?" then drop in the apostrophe immediately thereafter.
Q: Who owns the bat? If only one boy owns it then the answer is "It's the boy's bat." If multiple boys own it then "It's the boys' bat."
I cannot think of any rule much simpler than this, same with the greengrocer's apostrophe where just adding an 's' sans any apostrophe is similarly straightforward.
It seems to me that teachers of English ought to actually learn to teach as they did when I was a kid.
It's clear to me we need to bring the population up speed on the basics before venturing into esoterica, for all but the cognoscenti the Oxford comma can wait.
I mean you do you but don't call this the Oxford Comma.
Or maybe I missed the joke.
I reject the validity of other traditions. Also: repent and join my religion.
https://www.amazon.com/Eats-Shoots-Leaves-Tolerance-Punctuat...?
I also enjoy how meaning of a whole sentence can be inverted by a bit of punctuation:
a. "A woman without her man is nothing."
b. "A woman: without her, man is nothing."
Works on contingency
No money down
Always the best example for missing punctuation!