There are five principal uses of the comma:

[91a.] A comma is used between clauses joined by but, for, and, or any other coördinating conjunction.

Exception.—If the clauses are short and closely linked in thought, the comma may be omitted (She came and she was gone in a moment. McCoy talked and the rest of us listened.) If the clauses are long and complicated, a semicolon may be used (See [92b]).

[Note.]—No comma should follow the conjunction. Wrong: He was enthusiastic but, inexperienced. Wrong: They went before the committee but, not one of them would answer a question.

[b.] Do not use a comma between independent clauses which are not joined by a conjunction. Use a period or a semicolon. (This error, the "comma splice," betrays ignorance of what constitutes a unified sentence. See [18].)

Exception.—Short coördinate clauses which are not joined by conjunctions, but which are parallel in structure and leave a unified impression, may be joined by commas.