3 ms·
Am I the only one who uses a proportional font for coding? I find it more readable for the same reason it's more readable in books and other printed media.
by martincmartin 6y ago
Am I the only one who uses a proportional font for coding? I find it more readable for the same reason it's more readable in books and other printed media.
- tobr 6y agoWhenever I come across a list like this I hope to find some useful new proportional coding typeface. Nope, not this time either, 100% monospaced. I guess I’ll stick with Input Sans.
- jhvkjhk 6y agoWhich one do you use? I love proportional font but find most of them not suitable for code. Input Serif is the only proportional programming font I can find but it looks too old school.
- rudilee 6y agoTry the sans variant, it looks almost indistinguishable from monospace font but more comfortable to read.
- gsoto 6y agoI've been using Verdana for ~10 years. I've tried others but keep coming back to it. It continues to be a very consistent and elegant design for screen.
- martincmartin 6y agoGeorgia, modified to put a slash through the zero, and a small horizontal line, like a serif, on the l. Theory being, letters in serif fonts are easier to distinguish since visually they're more different from each other. Same reason the body text of books uses something like Times New Roman, only headings use a sans serif font.
- onetom 6y agoI did use proportional fonts with REBOL, Ruby, CoffeeScript and JavaScript. Tried it with tab-indented Clojure code too. However, 1-2 space indented code becomes just too ambiguous when rendered with proportional fonts, because the spaces are way too thin. I wish editors would render em or en-sized spaces instead, at least for the line-leading spaces. That way we would get the same indentation as intended with monospaced fonts, but still save horizontal space, while maintaining readability...
- dragonwriter 6y ago> Am I the only one who uses a proportional font for coding? No, I do it too. > I find it more readable for the same reason it's more readable in books and other printed media. OTOH, its really annoying when you edit code from someone who decided to try to "beautify" code by using alignment beyond indentation.
- layer8 6y agoI would like to, but I hate tabs (due to the jumps it causes in horizontal cursor navigation, and also due to the nonlinear behavior when inserting/deleting characters preceding a tab in a line), so I would need an editor that widens spaces at the start of line to get sufficient visual indentation at four spaces.