Ad
related to: so far comma or not in order to describe the sequence given in termseducation.com has been visited by 100K+ users in the past month
Search results
Results from the WOW.Com Content Network
"Avoid the so-called Oxford comma; say 'he ate bread, butter and jam' rather than 'he ate bread, butter, and jam'." The Economist Style Guide [49] "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.
and the sequences A053873, "Numbers n such that OEIS sequence A n contains n", and A053169, "n is in this sequence if and only if n is not in sequence A n". Thus, the composite number 2808 is in A053873 because A002808 is the sequence of composite numbers, while the non-prime 40 is in A053169 because it is not in A000040 , the prime numbers.
For example, "Stop!" has the punctuation inside the quotation marks because the word "stop" is said with emphasis. However, when using "scare quotes", the comma goes outside. Other examples: Arthur said the situation was "deplorable". (The full stop (period) is not part of the quotation.)
The difference between an Oxford comma and a regular comma is that an Oxford comma refers to the final comma in a series that would come before the last conjunction of a sentence.
The comma operator separates expressions (which have value) in a way analogous to how the semicolon terminates statements, and sequences of expressions are enclosed in parentheses analogously to how sequences of statements are enclosed in braces: [1] (a, b, c) is a sequence of expressions, separated by commas, which evaluates to the last expression c, while {a; b; c;} is a sequence of ...
For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression with a common difference of 2. If the initial term of an arithmetic progression is and the common difference of successive members is , then the -th term of the sequence is given by
Various observations: The comma and period inside the quotes "look better" only when true typography is used to place the quote over the punctuation, so that's not really an argument for doing it. My arguments for doing it come from Chicago and many other American style guides, but most acknowledge the historic reasons for the punctuation order.
In C and C++, the + operator is not associated with a sequence point, and therefore in the expression f()+g() it is possible that either f() or g() will be executed first. The comma operator introduces a sequence point, and therefore in the code f(),g() the order of evaluation is defined: first f() is called, and then g() is called.
Ad
related to: so far comma or not in order to describe the sequence given in termseducation.com has been visited by 100K+ users in the past month