I feel like Go Mono is never on these lists and I’m always surprised. It’s a beautiful font.
The regular Go font is also a very good coding font. It got me into proportional fonts for coding, though it’s pretty much the only one out there. I ended up compiling a custom Iosevka variant. It’s proportional but the glyphs are like any coding font, and it has all the coding ligatures.
I can fit so much on the screen and it’s way easier on the eyes.
I remember (trying to learn C++) from Stroustrup’s book, and he broke with tradition by having a proportional font for code examples. It was actually pretty nice.
Regarding that book, my main takeaways was the author’s lengthy and well-written defences of the design of C++.
Another vote for Go Mono. We who like monospaced typefaces with serifs seem to be in a minority.
I still love Sun Gallant Demi. A nice, sturdy, serifed font and a lot of fond memories.
Oh yes! It looked so damn crisp on the boot screen of Sun workstations.
I was a fan of the 9x15 X font, back in the day.
Coding font has to meet quite lot of standards these days … at least for me:
For me the fonts that currently fulfill these needs are (in order from best to less best):
Notable fonts that did not get into the podium:
Bonus section - non-antialiasing fonts that are also worth mentioning:
Its actually hard to describe it but if I will give you an example. When you setup Consolas or Ubuntu Mono size 11 font in xterm(1) they have ‘some’ size but when you setup Monaco font with size 11 then its a lot larger and I need to set it to size 10 to be ‘comparable’ to the other two. In this definition Monaco does not fulfill my needs because it has size/scaling problems.
Wow, I like Monofur but I’d not see it as a “serious” programmer typeface. It’s a bit too way out there.
It is hard to compare: not all screenshots use the same font size or line height. Moreover, they are rendered in a super high resolution, then downscaled. I suspect this makes some font look bolder than they should.
The previews on this site are so blurry as to be unusable (Windows 10, Chrome, 1920x1200 resolution).
Bizarrely… if I right click an image and choose “view image”, I see a blurry image which is 1200 × 900 pixels with this weird address:
If I remove the first half of the url to get https://coding-fonts.css-tricks.com/screenshots/hasklig/js-dark.png, I see a larger, 1600 × 1200 pixel image which isn’t blurry.
Also, whatever program was used to render the text as images doesn’t appear to support ligatures, which is unhelpful for the fonts which use ligatures.
Not a very good showcase for fonts if it doesn’t show their features properly and gives the impression that they’re blurry.
blurry in Safari as well, not Firefox though
I was a long time Fira Code user but I switched to Cascadia Code a year ago and love it
What’s better about Cascadia that you love so much?
It’s “chunkyness” if that makes sense. It is a bit heavier than others. Also I use the variant with ligatures, which look really nice.
It does make sense!
Although for me that very characteristic makes it harder to read.
Color me strange, but I’ve often gone through spells of using Comic Sans (and/or Comic Neue, now), to change the visual pace of coding.
I use a custom variant of the Inter (sans-serif, proportional) font with wider spaces https://github.com/colelawrence/inter
I wonder why proportional fonts for coding are so rare, they have excellent horizontal efficiency and high legibility.
There’s a massive under-examined set of assumptions when it comes to typefaces used for development. For example, the numeral zero doesn’t really need a dot or slash to be distinguished from capital O, but I’ve seen typefaces dismissed because the zero doesn’t look enough like the empty set symbol ∅.
This is actually the second time today I’ve come across someone using a proportional typeface. What editor are you using?
I use VS Code (TypeScript/Rust development) it works well with my tweaked font, because it supports extra character letter-spacing (which IntelliJ does not 😯).
(I’m the other guy) I use Rider (Jetbrains) and VSCode. They allow you to set a separate font for the terminal which is necessary cause it breaks with a proportional font, and Iosevka also has the regular monospace so that’s good.
I code mainly in C#, Typescript, and sometimes Java. The ligatures have always worked for me. The very few times I needed to work with some spaces-alligned text file I could quickly change the font of VSCode, no big deal.
Thank you for linking this! I use a custom proportional Iosevka. Did you fork/host your custom anywhere? I’d like to compare.
My custom is here https://github.com/VulumeCode/Iosevka/tree/custom-aile-code/dist/iosevka-aile-code/ttf
I only have the download from my master Fonts folder, so I enabled link sharing for InterCode for now
Using my editor with the font: