I hadn’t thought much about which font to use when coding before I stumbled across a recent article.
But why not? I spend pretty much all day somewhere between Visual Studio, Code, Notepad++, and recently the PowerShell ISE. Maybe the default font is OK, but this got me wondering if there was something that would give me a slight edge.
The article’s recommendation was Monoid, a new font face designed to be “clean, uniform, and precise,” so I went directly to this and tried it out. It wasn’t long before I found what I feel is a critical issue. Here is a small snippet from some PowerShell comments I was writing. See how the m’s bleed together? I hate that. Is it and n and then an m? An r, maybe? It’s hard to tell. The font is also just a little too skinny for my liking.
So rather than just going back with the status quo, I did a bit more digging… Found another article. The top recommendation from this article is Inconsolata. Again, it didn’t take me long to find something I hated about it:
Yes, that strange line before Get-Choice is supposed to be an equal-sign. Absolutely unusable. I’m not sure, even, how that could happen… Maybe I needed to reboot after installing or something, but it doesn’t seem possible that a font could be available with such an issue. Anyway, I decided to keep looking.
One font that seems to come up a lot is Consolas, although there is some confusion on whether it can be installed for free or not. It is the runner-up suggestion at Slant’s list of the best programming fonts. This is the one that I have settled on for now and have been happy with it after setting it as the default font for all of my IDE’s and text editors. It does seem to be available for free from here.