DEV Community

Cover image for ✨Awesome fonts to code 💻

✨Awesome fonts to code 💻

Sendil Kumar on June 22, 2020

We spend a lot of time interacting with type. They influence our thinking, alter trust, determine context, and play with our productivity. In...
Collapse
 
nicolus profile image
Nicolus • Edited

I really want to like those fonts like Cascadia code, Fira or Jetbrains Mono... But everytime I switch to anything other than Consolas it just feels wrong and I can't concentrate... So I've made my peace with it, I'm a Consolas person and that will probably never change (I patch it with powerline characters though).

Collapse
 
val_baca profile image
Valentin Baca

My favorite font for code is Menlo since I've basically always worked with Macs and even after trying dozens and dozens of other fonts, Menlo just "looks right"

  1. Are the following absolutely distinguishable: oO0 1l| ({[]}) :;
  2. Do these make good arrows: <- -> <= =>
  3. Are these characters large enough to be seen (some fonts make them teeny tiny): `^*
  4. I'm not a fan of ligatures. They assign meaning to groups of characters that don't always mean that. I may want a<-b to mean "b into a" or "is a less than negative b" but the font shouldn't be deciding that. I find that ligatures cause me to parse the line twice rather than saving me time. But to each their own! I wish I liked them.

Thankfully, there's also a free alternative to Menlo called Meslo: github.com/andreberg/Meslo-Font

Collapse
 
itsjzt profile image
Saurabh Sharma

Im currently using using cascadia code, but i still like

github.com/be5invis/iosevka

Collapse
 
jwwwwwww profile image
jwwwwwww

I love OpenDyslexic

Collapse
 
waylonwalker profile image
Waylon Walker

I think Cascadia is my favorite.

Collapse
 
sendilkumarn profile image
Sendil Kumar

🎉🦄 They are the best

Collapse
 
jacoby profile image
Dave Jacoby

I'll throw in that Cascadia Code comes with Cascadia Mono, if you don't like the ligatures.

Collapse
 
sendilkumarn profile image
Sendil Kumar

Yup! :)

Collapse
 
igneel64 profile image
Peter Perlepes

Going all in on Cascadia :D

Collapse
 
awesomeironman profile image
Cyrus Gracias • Edited

Jetbrains Mono looks good, it's text as well

Collapse
 
sendilkumarn profile image
Sendil Kumar

Agree completely.

Collapse
 
mhomol profile image
Mike Homol

thanks for this! I went with Fantasque Sans Mono. :)

Collapse
 
licht1stein profile image
Mikhail Beliansky

You missed a really good one: Hack Font

sourcefoundry.org/hack/

Collapse
 
sendilkumarn profile image
Sendil Kumar

It looks nice :)

Collapse
 
muhimen123 profile image
Muhimen

Is there something wrong with my eyes or all the fonts look kinda similar?

Collapse
 
sendilkumarn profile image
Sendil Kumar

You are correct, something went wrong with the upload :). Updated now Thanks :)

Collapse
 
vtrpldn profile image
Vitor Paladini

I'm a big fan of Envy Code R, it's not very fancy but I like shorter fonts.

damieng.com/blog/2008/05/26/envy-c...

Collapse
 
sendilkumarn profile image
Sendil Kumar

looks interesting, I will take a look :)

Collapse
 
jabo profile image
Jabo

I'm using Jetbrains Mono and I recommended it!

Collapse
 
rafifos profile image
Rafael Julio

Iosevka is a great font for those who like to save up some horizontal space ;)

github.com/be5invis/Iosevka

Collapse
 
sendilkumarn profile image
Sendil Kumar

Yeah they look nice too.