More and more people in the world spend a lot of time in their favorite text editors(or better yet, favorite IDEs)….coding! Yes, more and more people are programming – actually, since the world population is on the uprise, there are probably more people who know how to program than there have ever been!
Well, before we get too deeply into demographics and world population statistics, lets look at TEN really really nice fonts to use in your text editor or IDE (Sublime, VSCode, Atom, Vim, Emacs, XCode, Android Studio…).
If you’ll allow me, I’ll arrange them in them in the order of approximate excellence! So, number 1 will be the font I consider the absolute best programming font (that or number 2), and 10 will be really good.
There are many many monospaced fonts, so, number 10 still made it into the list! In this list, I’ll only look at fixed-with fonts also called monospaced fonts – you know, fonts where every character takes the same width in pixels on your screen. So a semi-colon ; will take as much space as a capital M. This convention is helpful in programming, where the absence of that semicolon ; can stop your Java program from running. It wont stop your Ruby code, but it WILL stop your Java 🙂 So…as a convention, many programmers use monospaced fonts in their text editors/IDEs.
Without further ado, lets get to the list.
First place goes to…
Consolas and the next one, Inconsolata gradually emerged as the kings of the monospace world. They emerged into these positions probably based on the fact that nobody had a problem with them! They might not be your favorite, but they seem not to be disliked by anybody. And liked a lot by many – now that’s one way to make a good product.
Consolas does incredibly well at small sizes too …you know, the 8px,9px zone.
Conosolas is also the code font used in Google Chrome – when you hit CTRL + U to inspect Page Source.
This is probably the single most liked monospace font for programming. I do think Consolas is an all-round better font than this, but the Vox Populi informally has voted this as the general favorite monospace/programming font.
Designed by Christian Robertson, commissioned by Google.
If there was one word I’d use to describe Roboto Mono(perhaps and it’s coroporate cousin, Droid Sans Mono)…is super-clear. It just seems to be the most legible, clearest, child-with-wide-open-eyes clear kind of font.
Official Github page: https://madmalik.github.io/mononoki/
Designed by Matthias Tellen. If I may quickly say so, this is one of my absolute favorite programming fonts. It’s so good that it’s even good for other things! As you might or might not know, there are several excellent and modern fonts that are open-source – yes, open source fonts! – So this means that sometimes, someone forks that font and makes modifications (hopefully improvements!) to the font.
Mononoki has some similarities to Ubuntu Mono, but in my opinion, is a much clearer, stronger, perfectly spaced font – along with that beautiful ‘futuristic’ style. Mononoki seems to remind you to code for the future.
5. Code New Roman
Designed by Samiru Radian, 2014. Code New Roman looks like the better and improved version of what Monaco wanted to be 🙂 Monaco came first, and Code New Roman looks like the polished and graduated-version of Monaco. Let’s say, it’s the perfected verison of Monaco (which is a good font too, although in my opinion, it errs on the side of looking too ‘casual’, almost on the border of hand-written).
6. Fira Code
Fira Code was created by the Mozilla Foundation
7. DejaVu Sans Mono
Some credit and special notes on Iosevka is that its a font built from code.
As if you asked, my top three programming fonts are: Mononoki, Code New Roman, and Consolas.