5 ms·
I had a similar thought once, and while I still think the idea is correct, I just haven't found any variable width font for which this works for me. Most fonts
by codeflo 4y ago
I had a similar thought once, and while I still think the idea is correct, I just haven't found any variable width font for which this works for me. Most fonts have very narrow punctuation symbols. That makes sense for the visual flow of natural language text. But in code, symbols need to stand out just as much as letters. Monospace fonts achieve this perfectly, even if mostly by accident.
(BTW this is also the reason why I don't use "code ligatures" -- mashing symbols together is the opposite of what I want to read code clearly.)
- macrael 4y agoThe one that bugs my friend the most is that the minus is a totally different width from the plus in most variable width fonts. Personally I have not found this to be a big problem. Brackets are visible enough and indentation is the main way I see them anyway. I would LOVE to see a serious attempt at a variable width font for coding but already for me the benefits outweigh the drawbacks.