Whether an omitted "that" should be replaced with a comma in certain situations
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Mysterious Puzzle
--
Chapters
00:00 Whether An Omitted &Quot;That&Quot; Should Be Replaced With A Comma In Certain Situations
00:38 Answer 1 Score 5
00:55 Accepted Answer Score 5
02:09 Answer 3 Score 2
02:34 Thank you
--
Full question
https://english.stackexchange.com/questi...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#punctuation #conjunctions #commas
#avk47
ANSWER 1
Score 5
As with all punctuation, you have to ask not so much whether or not it's correct as what purpose a comma here might serve. With or without that, it wouldn't seem to serve any. On the contrary, it's a distraction and your intution is right.
ACCEPTED ANSWER
Score 5
No comma. When determining where the commas go, parse the sentence as if all the implied words were present. You can remove "that" because it is implied, but the meaning and function of "that" is still present.
Here's another example of comma use with an implied "that": "He discovered he was hungry and the fridge was empty." You might think you need a comma after "hungry" because this example seems to have two independent clauses connected by a coordinating conjunction. If this sentence is communicating two independent ideas, you would be right to add the comma. However, if this sentence is about what he discovered, you would be wrong to add the comma. Let's look at the sentence again, this time with all the implied words in place.
"He discovered that he was hungry and that the fridge was empty." As you can see, this sentence is now about discovering two things. The subject and verb are "He discovered," resulting in one independent clause expressing one idea.
What's the point here? You need to punctuate the sentence as if the implied words were present. (Zen Comma rule E: Use commas as if implied words were present.) Your sample doesn't need commas with "that" in place, so it won't need commas when you imply "that."
ANSWER 3
Score 2
I think that (like many punctuation errors), this happens because the writer isn't clear about exactly what is meant. The phrase without a comma would, as you say, be fine. You could, alternatively, insert a semicolon and slightly alter the meaning. If you're not sure which you mean, then obviously inserting a comma will be halfway between the two, right? Wrong.