Live data from Hacker News

Prefer the British Style of Quotation Mark Punctuation over the American

erichgrunewald.com

161–170 of 393 posts

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#161
post #24

Earlier quoted context omitted.

> for the American style is aesthetics Why would you make a style choice to make something less aesthetically pleasing?

I wouldn't and I don't think I am. The American style is not aesthetically pleasing at all. I think you misread my comment or replied to me accidentally.

I am in agreement with you - I didnt even know this so called american style existed untill now, it makes no sense at all.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#162

Earlier quoted context omitted.

I don't see why it is redundant. There is no reason to assume that the quoted sentence ends the quoting sentence. Imagine this being the last thing you see on a page. Without turning the page, there would be no way of knowing whether the quoting sentence is complete. But these things are just conventions. It's futile to demand any kind of logic or consistency.

It's not the only element of style that may seem illogical, there are many more. Off the top of my head: * Nested parentheses. (In theory, you could use any level needed (provided that they make sense), but in practice, they're scoffed at.) It is similar with quotes, for the same reasons: limited readability - although here you can at least juggle with single, double and French quotes, depending on the language and s…

Parsing nested parens requires stack, which humans are vary bad at handling. So writing in this style will be harder to read compared to linear style that people are used to. There are topics inherently nonlinear, but they are often linearized or directly drawn in 2d space.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#163
If you were surprised that someone calmly said, "I can't do that," how would you write it?

This would not convey the correct meaning: She said, "I can't do that!"

This looks incorrect: She said, "I can't do that"!

This looks incorrect as well: She said, "I can't do that."!

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#164
post #2

As a programmer, I’d prefer a combination of the two: Dr Johnson kicked a large rock and said, as his foot rebounded, “I refute it thus.”. as I think it’s weird that a punctuation mark inside a quote can end the sentence that contains the quote. I’d argue like this: in the above case there are two sentences, the quote and the sentence that contains the quote. Both need to be terminated with a period.

.”.

This looks completely bizarre to me. I hope this never becomes a standard.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#165

Earlier quoted context omitted.

Not quite, in practice you still occasionally stumble upon situations like these: https://stackoverflow.com/questions/51974631/how-do-i-proper... Or this: https://github.com/spaceghoul/json_deep_parse#example-usage-...

I see what you mean, but the first appears to be a PHP bug (unless I am misreading?). The second, appears to be a tool for parsing a json blob which has been escaped and encoded as a simple string inside another json blob. That's certainly an interesting problem, and one that is likely to come up in a sufficiently complicated world - however it's not an issue with parsing JSON. It's an issue with parsing /any/ data s…

> It's an issue with parsing /any/ data structure or language that may contain strings and as such seems unavoidable.

Except for a data format which would allow embedding data in a nested fashion without altering it in any way. For example:

  some_object_field: "some value"
  some_other_field:
    with_sub_objects:
      and_sub_fields: "with values"
  and_also_fields:
    """
      which_allow_objects:
        embedded_as_strings: "without transforming the structure"
        which_both: "JSON and XML"
        have_somewhat: "failed to do"
      #""" control sequences should also be valid in the body, as long as there is proper indentation, a la Python
      # which could then be simply stripped for display, for example, based on the first """ having N indentation
      # then it would follow that the rest of the data entries have N+TAB_WIDTH, which could be simply stripped
      # also, processing the beginning of every line would be less expensive than iterating through the entire line in search of escaped \n or anything of the sort
    """
Multi-line strings in JSON are also an embarrassment: https://stackoverflow.com/a/2392888

As a consequence, the amount of parsing and processing that you need to do is really bad for performance. Of course, there are formats like YAML and TOML that go in the opposite direction - they try to cover all use cases and end up being overcomplicated.

There are occasionally other attempts like JSON5 to improve things: https://json5.org/

However those also oftentimes are not very popular, because there is just too much ecosystem that has been built around the older formats, like XML, JSON and even YAML.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#166

If you were surprised that someone calmly said, "I can't do that," how would you write it? This would not convey the correct meaning: She said, "I can't do that!" This looks incorrect: She said, "I can't do that"! This looks incorrect as well: She said, "I can't do that."!

The middle one looks the best. I think the simple answer would be to convey it with words instead of an explanation point.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#167

Earlier quoted context omitted.

> It’s a shame that the punctuation of human languages can’t be logical. s/the punctuation of //

Lojban is a human language, even if it is not a natural language.

Lojban also hasn’t shown that it would retain its principles after years of broad day-to-day usage. And I dare speculate that it would not.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#168
post #58
post #33

Earlier quoted context omitted.

> I do not understand why OP decided to use "English" which implies that people in Scotland and Northern Ireland might punctuate differently. Not sure about the author, but for several countries "English" is colloqualy used as a stand-in for British in general (and England for the UK), as those were the British they most commonly met.

It's best not to though, unless you want to annoy people from Scotland, Wales, and Northern Ireland. Most English people will consider it a sign of ignorance too. Beyond that, the "colloquial" use is simply incorrect.

>Beyond that, the "colloquial" use is simply incorrect.

Doesn't matter, language follows use, not etymology or geography. If a term has been established as something (in actual use) then it will be used, doesn't matter if it's not technically correct (same way "Indians" was used for centuries for Native Americans, and only fell out of use because of political concerns, not because it was also obviously incorrect and based on a misunderstanding of a whole continent).

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#169
post #2

As a programmer, I’d prefer a combination of the two: Dr Johnson kicked a large rock and said, as his foot rebounded, “I refute it thus.”. as I think it’s weird that a punctuation mark inside a quote can end the sentence that contains the quote. I’d argue like this: in the above case there are two sentences, the quote and the sentence that contains the quote. Both need to be terminated with a period.

Exactly, both approaches in the article are wrong, and this is the only way to write the sentence correctly. Each sentence needs to end in a punctuation mark, regardless of whether it's between quotes or not.

Re: Prefer the British Style of Quotation Mark Punctuation over the American

#170
post #150

Earlier quoted context omitted.

OK, but why? Is this a convention?

It looks better and it saves space.

I'd argue the first is subjective (and I don't think it looks better personally). It's also different to how we use the same punctuation otherwise.

It does save space, but I'd say that's neither here nor there. It isn't like space for an extra period at the end of a sentence was ever at a premium.

At best, for a whole 200+ page book, you'd save a page or so.

Post reply on HN