News for hackers. Stuff that matters.
Re:How do you respond to a one-character email from your bos... by bobbylarrybobby on Saturday July 09, 2022 @10:29PM (#32041307)
It doesn't even make sense. The sentence containing the quotation only ends when the quotation itself ends, not before. `print("abc)"`
Re:How do you respond to a one-character email from your bos... by peyton on Saturday July 09, 2022 @10:43PM (#32041374)
It’s a tradition from the fixed-width font typewriter era IIRC. Quote mark followed by period looked bad because of all the whitespace.
Re:How do you respond to a one-character email from your bos... by asplake on Sunday July 10, 2022 @12:20AM (#32041831)
In the US (and Canada?).

British English puts commas and periods (full stops) outside the quotation marks unless the quotation is also a complete sentence or the punctuation is part of the quotation.

Source: https://www.unr.edu/writing-speaking-center/student-resource...

Re:How do you respond to a one-character email from your bos... by jle17 on Saturday July 09, 2022 @11:33PM (#32041603)
I wish we would do away with those nonsense traditions. I tend to ignore them but some correction softwares don't like it. Especially since they are incoherent between languages with no good reasons. English wants the dot in the quotes, French wants a space before colons, yada yada
Re:How do you respond to a one-character email from your bos... by Kaze404 on Sunday July 10, 2022 @12:17AM (#32041812)
Is it? I've only ever seen this phenomenon in English text, and it's definitely not a thing in Portuguese.
Re:How do you respond to a one-character email from your bos... by thrown_22 on Saturday July 09, 2022 @10:55PM (#32041428)
You're assuming a context free grammar, this is a context sensitive grammar.

Much like <b>being bold <i> being both </b> being italic </i> is a malformed CFG but a perfectly valid CSG.

Ironically it's the one advantage XML type notation has over Lisp type notation when it comes to expressiveness. It's rather unfortunate that, essentially, all XML tools assume proper nesting.