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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why is 80 characters the 'standard' limit for code width?

9 点作者 sathyabhat大约 13 年前

2 条评论

hsmyers大约 13 年前
The way I remember it was a bit more complicated. IBM initial card size was originally based on the size of a bank note. To say the IBM just had 80 columns isn't enough, they also toyed with a 96 column card as well. And I wouldn't be surprised if first Jacquard and then Babbage are in this chain of causation also.
indiecore大约 13 年前
It's really interesting how standards just come out of stuff like this. Why are cars the size they are now? Because the Romans said that a cart can't be wider than two mules and designed their roads thusly, every bit of transportation technology in the past two thousand years has been affected by this rule. Even just yesterday I had to pick a length to cut news story previews to for a sidebar. I picked 140 chars solely because it looks "familiar" because of Twitter, which has that limit because of text messaging which has THAT limit because they guy who designed the protocol sat down at a typewriter and typed himself a bunch of sentences that were about that length.<p>Odd right?
评论 #3976174 未加载