TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Correct Way to Do Sentence Spacing (2020)

4 点作者 Kronopath超过 1 年前

1 comment

ddingus超过 1 年前
I hate one space sentence spacing.<p>I hate it because doing that introduces a parsing ambiguity.<p>There is no simple, clear way to know whether the next letter should be capitalized when one is using single space. Here is an example: (I wrote it on my phone just now)<p>The contest name was this vs. That.<p>When I input this on my phone, I get &quot;That&quot; when I want &quot;that.&quot;<p>The word &quot;versus&quot; is abbreviated &quot;vs.&quot;, or &quot;v.&quot;, depending on the context. Single space to end a sentence conflicts with all that, incorrectly generating a capital letter on many predictive systems.<p>I dislike that viscerally. It is an unnecessary bodge in our otherwise fine grammar.<p>That annoying ambiguity comes up a surprising number of times leaving people to correct input they would not have to correct otherwise had the grammar been left alone.<p>I consider single space to be broken. It simply does not work without kludges like trying to deprecate the period in many abbreviated expressions.<p>Frankly, the only reason those are being discussed is a sort of patch up after finding out single space writing is not parsable.<p>Fact is, the single space after period was for mid sentence period use, and the double space was for sentence end. That is perfectly clear, will parse easily and without forced ambiguity.<p>Two spaces, thank you very much.