Revisiting Programming Fonts

I've experimented with programming fonts and IDE color schemes plenty in the past. But now that I've given in to the inevitability of ClearType on large LCDs, I've basically settled on Consolas. It's hard to beat Consolas. It's darn close to the ultimate monospace programming font in my estimation. That's why I was so intrigued when I read about Inconsolata, a non-denominational OpenType relative of Consolas, which unlike Consolas, works equally well with ClearType enabled or disabled.

Once I tried out Inconsolata, I figured I might as well revisit all the common, popular programming fonts under the same conditions. So here goes. These are rendered under Windows Vista, with ClearType enabled, using my standard programming font comparison code sample.

Consolas, 11 point.

Consolas font, code sample

Inconsolata, 11 point.

Inconsolata font, code sample

Monaco, 11 point.

Monaco font, code sample

Envy R, 11 point.

Envy R font, code sample

Vera Sans Mono, 11 point.

Vera Sans Mono font, code sample

Pragmata, 11 point.

Pragmata font, code sample

Courier New, 11 point.

programming-fonts-2-couriernew.png

Lucida Typewriter, 11 point.

Lucida Sans Typewriter font, code sample

The Font of the Gods, 11 point.

Comic Sans font, code sample

Andale Mono, 11 point.

Andale Mono font, code sample

Choice of programming font is as much a personal preference as anything else. Decide for yourself what works for you. I'll limit my comments to a few observations:

  1. Please don't use the default Courier New typeface. Be kind to your eyes.
  2. Personally, I still don't think anything beats Consolas; it's an outstanding monospace typeface design, highly optimized for ClearType display on LCDs.
  3. I'll never understand the appeal of Monaco amongst the Mac crowd. It's an unreadable mess to my eye.

Read more

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood · · Comments

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven't any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don't stop there - read the Story of Your Life novella it was based on

By Jeff Atwood · · Comments

I Fight For The Users

If you haven't been able to keep up with my blistering pace of one blog post per year, I don't blame you. There's a lot going on right now. It's a busy time. But let's pause and take a moment

By Jeff Atwood · · Comments

The 2030 Self-Driving Car Bet

It's my honor to announce that John Carmack and I have initiated a friendly bet of $10,000* to the 501(c)(3) charity of the winner’s choice: By January 1st, 2030, completely autonomous self-driving cars meeting SAE J3016 level 5 will be commercially available for passenger

By Jeff Atwood · · Comments