Inside of you are two wolves:
One of them wants to be grammatically correct and put the punctuation inside "the quoted text."
The other one has been programming for 25 years and is howling at the top of its lungs, "I demand proper nesting!".
Inside of you are two wolves:
One of them wants to be grammatically correct and put the punctuation inside "the quoted text."
The other one has been programming for 25 years and is howling at the top of its lungs, "I demand proper nesting!".
@andrewrk At this point the first wolf has moved on.
But in any case, punctuation isn't part of grammar, so it's not going to affect grammatical correctness.
@cnx Grammar is about spoken language, it's about how words come together to create sentences with meaning.
Punctuation is part of writing, not spoken language. It's like spelling, which is also not grammar & only applies to written language. It's a set of conventions for how to record and transmit aspects of the spoken language using symbols.
It's good to recall that the spoken language comes first & is much older than writing. Grammar has existed for much longer than punctuation or spelling.
@typeswitch, scripts are to record speech, and punctuation isn't just pretty decorators. It denotes pauses, changes in tones, and sometimes replacement for words or modifiers (e.g. quotation marks). Consider your own words by themselves:
grammar is about spoken language it s about how words come together to create sentences with meaning punctuation is part of writing not spoken language it s like spelling which is also not grammar & only applies to written language it s a set of conventions for how to record and transmit aspects of the spoken language using symbols it s good to recall that the spoken language comes first & is much older than writing grammar has existed for much longer than punctuation or spelling
@andrewrk The Brits have just one wolf. https://en.wikipedia.org/wiki/Quotation_marks_in_English#British_style
I tend to use this for most of my casual writing, despite being American.
@andrewrk The cool thing about people: most of us don't really care
about formatting. As long as you get your point across clearly,
you'll get places :)
@phairupegiont @andrewrk
Punctuation in German is similar:
"Punctuation marks that belong to what is reproduced literally are placed before the closing quotation mark.
Punctuation marks that belong to the accompanying clause are placed after the closing quotation mark. Both the quoted sentence and the accompanying sentence retain their exclamation and question marks."
@andrewrk Thank you giving me a clue that is considered the correct way in US English. I am a native German speaker and was always confused why people used quotation marks in such a weird way.
I like how having the mindset of a software developer and the German language agree on that for once.