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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rob Pike: Submit to the punched card tyranny

22 点作者 jcox92将近 10 年前

6 条评论

notacoward将近 10 年前
As typesetters have known literally for centuries and human-factors folks have confirmed since, there is a number of characters per line that is optimal for reading. Shorter than that, and you&#x27;re going back to the beginning of the next line too often. Longer than that, and going back is too hard. Either one disrupts concentration, even if we&#x27;re only talking about tiny fractions of a second.<p>Is 80 columns exactly right? Probably not. From what I&#x27;ve read, the ideal is probably a bit shorter. In any case, having a standard that&#x27;s in the right ballpark is a good thing. There will always be some complainers, but 80 columns seems <i>pretty good</i> for <i>most people</i>. It&#x27;s nothing to do with punch cards, except that their design was probably influenced by the same ergonomic principles.
评论 #9867953 未加载
marssaxman将近 10 年前
I don&#x27;t care what the limit is, but there has to be a limit, because otherwise you always get that one asshole who likes to zoom his single editor pane fullscreen on a 30&quot; monitor and then type, type, type until he wraps around the far side. Codebases like that are just painful to work with, and it&#x27;s a waste of monitor space when you can&#x27;t stack up a row of editors side by side.<p>I use 80 columns, personally, just because it&#x27;s familiar, but I&#x27;d be just as happy with 100 or 112 or 120 or 160 or really anything as long as there&#x27;s room to fit at least two editors on screen side by side.
vezzy-fnord将近 10 年前
Good on Pike and co.<p>Next up, let&#x27;s deprecate the horrid mess that is the userspace terminal control subsystem on most modern Unix-likes: <a href="http:&#x2F;&#x2F;landley.net&#x2F;notes.html#27-04-2015" rel="nofollow">http:&#x2F;&#x2F;landley.net&#x2F;notes.html#27-04-2015</a><p>(Keep in mind this is an orthogonal problem compared to the in-kernel VT subsystem, and I think it&#x27;s Linux where CONFIG_VT is particularly bad.)
gumby将近 10 年前
I disagree with Pike though I have mine fixed to 133 columns, not 80. A different historical set of handcuffs.
GFK_of_xmaspast将近 10 年前
Live by the mandatory format, die by the mandatory format.<p>(also what the hell, why would you ever not use a fixed width font for coding)
stonogo将近 10 年前
Is this sample of ineffectual whining notable for any reason other than its author? Is its submission here to be taken as a challenge to improve text rendering on computers? What is the point here?
评论 #9867557 未加载
评论 #9867510 未加载