Some boys threw stones at the dogs ------- other wrote letters .
Some boys threw stones at the dogs ------- other wrote letters .
Explanation
Use a comma before while in the middle of a sentence when you mean “whereas” or “although.
Use a comma before while in the middle of a sentence when you mean “whereas” or “although.