Commas should aid understanding
Use commas as an aid to understanding. Too many in one sentence can be confusing, whereas too few can result in serious misunderstanding.
It is not always necessary to put a comma after a short phrase at the start of a sentence if no natural pause exists there: On August 2nd he invaded. Next time the world will be prepared.
But a breath, and so a comma, is needed after longer passages: When it was plain that he had his eyes on Saudi Arabia as well as Kuwait, America responded.
Commas are sometimes imperative to aid understanding, for example to stop your guests from eating Grandpa:
Use two commas, or none at all, when inserting a clause in the middle of a sentence. Thus, do not write: Use two commas, or none at all when inserting . . . or Use two commas or none at all, when inserting . . .
If the clause ends with a bracket, which is not uncommon (this one does), the bracket should be followed by a comma.
Commas can alter the sense of a sentence. To write Mozart’s 40th symphony, in G minor, with commas indicates that this symphony was written in G minor. Without commas, Mozart’s 40th symphony in G minor suggests he wrote 39 other symphonies in G minor.
Do not put a comma before and at the end of a sequence of items unless one of the items includes another and. Thus The doctor suggested an aspirin, half a grapefruit and a cup of broth. But he ordered scrambled eggs, whisky and soda, and a selection from the trolley.
Do not put commas after question marks, even when they would be separated by quotation marks: ‘May I have a second helping?’ he asked.
Source: Economist Style Guide
1. People who perform well on this test tend to have the capacity to readily understand reports and documents.
2. People, who perform well on this test, tend to have the capacity to readily understand reports and documents.
Which one is right? Number 1.
The second sentence reads as ‘People [description of people] tend to have the capacity…’. The commas identify the clause ‘who perform well on this test’ as modifying ‘people’, i.e. [All] people perform well on this test.
Such as… and ‘as’: where to place the comma
Incorrect: ‘In jobs, such as fighter pilots, costs have been estimated at well over a million dollars to train each job incumbent.’
This reads as ‘In jobs, costs have been limited…’
The phrase ‘… jobs such as fighter pilots’ should not have a comma.
However, this is correct: ‘In certain jobs, such as fighter pilots, costs have been estimated at well over a million dollars to train each job incumbent.’
‘Such as’ meaning ‘for example’
The Grammar Exchange Archives has the following explanation (pasted from a more comprehensive posting):
‘…such as (in its function that is similar to that of including) introduces a member or members of a category; a class of things or people. It introduces one or more examples of the larger category. For example:
- She has made a great many people nervous, such as her grandmother, her uncles, and her husband-to-be.
- Our nursery offers a large selection of fruit trees, such as peach, plum, and apple.
- Several long-time friends of the groom, such as his two college roommates and his football buddy Jake, were flabbergasted that he actually went through with the ceremony.
Items introduced by such as are representative of a category, to give some idea of the kind of items that are being talked about. When such as introduces examples of a category, it is usually preceded by a comma, as in the examples above.
‘Such as’ meaning ‘like’
Sometimes such as does not mean ‘for example’ but rather ‘like’:
There are crystals, of substances such as [like] tourmaline, which are sensitive to the polarisation of light.**
Irresponsible people such as [like] your little brother shouldn’t be allowed to drive!
Sometimes such as is followed by a full clause, in which case it means ‘of a/the kind that…’ With this meaning, such as has no comma: This will be a disaster such as the world has never seen.
or
We may disclose … personal information about you, such as we have described above, to the following types of third parties.
Also:
[The manager] would improve performance by finding out about the person as a basis for adapting your approach and showing appropriate empathy (no comma before ‘as’ here!)
Eats, shoots and leaves…
A panda bear walks into a bar and orders a sandwich. The waiter brings him the sandwich. The panda bear eats it, pulls out a pistol, kills the waiter, gets up and starts to walk out.
The bartender yells for him to stop. The panda bear asks, “What do you want?” The bartender replies, “First you come in here, order food, kill my waiter, then try to go without paying for your food.”
The panda bear turns around and says, “Hey! I’m a Panda. Look it up!” The bartender goes into the back room and looks up panda bear in the encyclopedia, which read: “Panda: a bear-like marsupial originating in Asian regions. Known largely for its stark black and white colouring. Eats shoots and leaves.”