Among other things, I am a typography nerd. (Helvetica is one of my favorite documentaries.) I’ve even purchased a coding font called Dank Mono.
I just discovered this very well thought out font called Input.
It has three families, monospaced, sans serif, and serif. In addition, you can change parameters to customize it to your liking. For example, to be able to easily see the difference in 1Il or O0, change the shape of ‘a’ and ‘g’, etc.
The designer also makes an interesting case for using proportional fonts for editing code.
E.g. notice the difference in the ‘I’ and ‘0’ in these screen shots:
IBM Plex Mono is a font that works both for programming and casual display. It was the basis for the iA Writer app’s famous-in-some-circles font (capital Q and lowercase g being the most obvious differences). And it has a variety of pleasing lighter weight fonts, if that appeals to you. It is widely available for download and is free to use.
I’ll have to check that out! (I can’t see myself ever using proportional fonts for code though: I think I use “expected widths of things” way too much as an implicit/semi-subconscious method of scanning for possible syntax errors.
Yeah, and it’s interesting enough that I may give it a try. It can make some typos easier to spot, but also hide others. It’ll be a matter of how easily the semi-subconscious syntax checker in my brain can adapt after decades of monospaced fonts.