TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rob Pike: Submit to the punched card tyranny

22 pointsby jcox92almost 10 years ago

6 comments

notacowardalmost 10 years ago
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 未加载
marssaxmanalmost 10 years ago
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-fnordalmost 10 years ago
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.)
gumbyalmost 10 years ago
I disagree with Pike though I have mine fixed to 133 columns, not 80. A different historical set of handcuffs.
GFK_of_xmaspastalmost 10 years ago
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)
stonogoalmost 10 years ago
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 未加载