Dev Fonts
devfonts.gafi.dev
devfonts.gafi.dev
An example is >>=, which is "inplace shr" in some languages, but "monad bind" in others. A unified ligature for >>= really confuses me.
I ended up googling how to disable ligatures in CSS, went to the developer tools and hunted down where they're being enabled so I could use the website. It's on the
.CodeMirror pre.CodeMirror-line, .CodeMirror pre.CodeMirror-line-like
rule (codemirror.css:240), you can edit it to: font-variant-ligatures: none;But for code, they're just an abomination.
(Sorry for offtopic, but does anyone else have upvote/downvote buttons not visible for freetonik's comment?)
My current favorite is https://www.programmingfonts.org/#go-mono (and not just for Go!). Yeah, I prefer serif fonts, apparently I'm in a minority (16 serif fonts vs. 136 sans serif on this site).
The reason SF Mono and Monaco are not on the list is probably because they are proprietary.
Iosevka is one of them, but to me the negative spaces between characters in it are too little for good readability, in other words it feels too "square"-ish. Other fonts close to it in style have other issues. I've been using M+ fonts for coding for more than a decade I think, and tried to switch but always returned to them. If you're somebody like me, check them out: https://mplusfonts.github.io
In terminals I'm using Source Code Pro or IBM Plex Pro and they work really well for me.
Also turns out IBM Plex Sans can be a solid font for designing dashboards, tables and generally more "technical" UIs, so whoever worked on that font familiy did a really good job imo.
And if you like iA Writer, they based their fonts off IBM Plex and you can get them for yourself too: https://github.com/iaolo/iA-Fonts
It's a compromise, but one that works well (for me). Basically IBM Plex but with m, M, w, and W being 50% wider than all the other characters.
Sounds odd, but is very legible and usually fine depending upon the context of its use.
[1] https://ia.net/topics/in-search-of-the-perfect-writing-font
Proportional fonts are simply more legible, and programming with them is great.