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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The case for proportional fonts in coding

2 点作者 thanatropism8 个月前

2 条评论

marssaxman8 个月前
I tried this, many years ago, but it did not take long before I gave it up. Code is full of skinny punctuation characters whose meaning is critical to understanding, and allowing a proportional font to squish down the screen area they occupy does not improve readability. This can easily be seen in the author's own screenshots.
spacedcowboy8 个月前
Nope, no thanks.<p>Space indentation <i>after</i> text is very much a thing for me, and proportional fonts break that. Monospaced text looks neater to my eye, as well, and when I’m trying to figure out “how the hell that <i>ever</i> worked”, I don’t want the cognitive dissonance of trying to ignore the unaligned text.