This is a list of popular coding fonts. My personal favorites are marked in bold.
As for “why” … Consolas and Menlo are just super smooth. Right weight / height / spacing / proportions. You can “just work” with them and it’s never wrong. At the moment I think JetBrains Mono is just this tiny bit better, even if only for the ligatures.
Honorable mentions go to Iosevka, which is a bit strange, but very narrow so you can fit a lot in the available screen width.
The rest is not bad, I just keep circling back to one of the mentioned alternatives within minutes usually. Personal style might differ.
- Consolas - Windows proprietary.
- Menlo - Mac proprietary.
- Jetbrains Mono - brew cask:
- Fira Code - brew cask:
- Hack - brew cask:
- Monoid - brew cask:
- Iosevka - brew cask:
- Inconsolata - brew cask:
- Source Code Pro - brew cask: