4 ms·
That 15-year-ago mark is interesting to me, because that was just about the time when I switched to proportional fonts. I recognize that I'm in a tiny minority
by Stratoscope 13y ago
That 15-year-ago mark is interesting to me, because that was just about the time when I switched to proportional fonts.
I recognize that I'm in a tiny minority: the vast majority of developers code in monospaced fonts.
That's one reason why I value an editor that makes it easy to switch between a proportional font and monospaced, so I can code in the font I like or switch to a monospaced font when necessary. One of the few that does this well is Komodo, where each "theme" includes both proportional and monospaced fonts, and you can easily switch between them. (I just wish IntelliJ IDEA did this!)
It's also why I wouldn't presume to use a coding standard that worked only in a proportional font but looked bad in monospaced.
But to my eyes, a coding standard that works equally well in proportional and monospaced fonts is superior to one that works only in monospaced.
I must respectfully disagree that "It turns out that proportional fonts are designed for text, not code." All of the code I've written in the last 10-15 years is just as readable in a proportional font or monospaced. It really makes no difference at all which kind of font you read the code in, if the coding standard was designed to support both.
- vinkelhake 13y agoI'll have to respectfully disagree as well :-) Fonts designed for programming typically take extra care of making sure that certain groups of glyphs look different: "O0" and "1lI" for example. Now I'm curious: what proportional fonts do you use for coding?
- Stratoscope 13y agoSorry for the slow reply. In case you read this later, my favorite coding font is actually Georgia. It's not perfect; Georgia's lowercase o looks a lot like 0. But in practice that has never been a problem for me. And unlike many proportional fonts which have monospaced numbers, even the numbers are proportional in Georgia. But I just like the way it looks and the readability it has - for my eyes.