The English Oracle

"If" with implicit "then" question: Should a comma be used?

--------------------------------------------------
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: Ocean Floor

--

Chapters
00:00 &Quot;If&Quot; With Implicit &Quot;Then&Quot; Question: Should A Comma Be Used?
00:19 Accepted Answer Score 18
01:02 Thank you

--

Full question
https://english.stackexchange.com/questi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#punctuation #commas

#avk47



ACCEPTED ANSWER

Score 18


In that case, the comma is optional. According to the Wikipedia page on comma:

In English, a comma is generally used to separate a dependent clause from the independent clause if the dependent clause comes first: After I brushed the cat, I lint-rollered my clothes. (Compare I lint-rollered my clothes after I brushed the cat.)

[…]

While many style guides call for commas, many authors omit them, particularly with short sentences.

The two paragraphs that I extracted from the article apply to your sentence. It’s a short sentence with a dependent clause (if the item is an apple) and an independent clause (it should be given to children), where the dependent clause comes first.