News for hackers. Stuff that matters.
Re:The Best Programming Fonts by jemmons on Friday May 01, 2009 @10:41AM (#588556)
Number one is Arial? Way to blow all credibility right up front.
Re:The Best Programming Fonts by blogimus on Friday May 01, 2009 @11:44AM (#588626)
The fonts are listed in alphabetical order.

But still, as stated in the article:

"It can be a little difficult to distinguish between uppercase i / lowercase L and nested single/double quotes but that can be said of many proportional fonts."

For source code editing, I'll stick to a monospaced font myself.

Re:The Best Programming Fonts by viggity on Friday May 01, 2009 @05:30PM (#589191)
Agreed. If a new person starts working with me and they are not using a fixed width font, I immediately question their sanity and their skills.
Re:The Best Programming Fonts by riobard on Friday May 01, 2009 @10:31AM (#588544)
I guess platform/rendering engine difference should be taken into consideration when choosing the "best" fonts. Same font is usually rendered very differently on different platforms with anti-aliasing on. For example, Monaco looks fantastic on Mac, but just so-so on Windows/Linux. (Though for bitmap fonts this seems not a real issue.)
Re:The Best Programming Fonts by jrockway on Friday May 01, 2009 @10:55AM (#588572)
Don't use Vera, use DejaVu. It's the same font, but with many more Unicode characters. (λ looks much nicer after I made the switch.)

Link: http://dejavu-fonts.org/wiki/index.php?title=Main_Page

Re:The Best Programming Fonts by bitwize on Friday May 01, 2009 @10:57AM (#588573)
Terminus. LispM font.

Smoothed blended TrueType programming fonts are for clove-cigarette-smoking nancy boys.

Re:The Best Programming Fonts by dimitar on Friday May 01, 2009 @10:29AM (#588543)
How about the X11 "fixed" font and my favorite - "terminus"?

Fixed, by the way is the font you see when you start xterm in most environments. Hold Ctrl and the RMB while the mouse cursor is in a xterm window and you can see it in different sizes

Re:The Best Programming Fonts by wastedbrains on Friday May 01, 2009 @11:05AM (#588581)
I am a big fan of Anonymous, it is currently my emacs code font.

http://www.ms-studio.com/FontSales/anonymous.html

Re:The Best Programming Fonts by puns on Saturday May 02, 2009 @07:00PM (#590299)
+1 for Anonymous. It's a great font to use on OS X, especially if you're using light font on a dark background, as OS X tends to render the fonts much heavier and blurrier with antialiasing. Anonymous remains fairly crisp.
Re:The Best Programming Fonts by yan on Friday May 01, 2009 @10:14AM (#588521)
It's not mentioned, but I love Pragmata[1]. It's expensive, but gorgeous and very usable. And I stand by what I said about it earlier: http://twitter.com/yan_i/status/1442859670

[1] http://www.fsd.it/fonts/pragma.htm

Re:The Best Programming Fonts by weaksauce on Friday May 01, 2009 @12:25PM (#588704)
Wow. 90 euro for a font is pricey.

It looks nice. What makes it better than the other programming fonts? or is it a general feeling when you use it?

Re:The Best Programming Fonts by neovive on Friday May 01, 2009 @11:43AM (#588625)
++ for Dina. It's an excellent programming font and looks great even at 8pt. It allows you to see much more code per screen.
Re:The Best Programming Fonts by socratees on Friday May 01, 2009 @10:37AM (#588551)
Arial? I've tried using non monospace fonts for code. They've never worked out for me.
Re:The Best Programming Fonts by jrockway on Friday May 01, 2009 @11:03AM (#588580)
I think it might be dependent on what language you use. In Perl, alignment is very important, as you have a lot of code that looks like:

   my $foo = Foo->new(
      named_initargs => 'go here',
      and_also       => 'here',
   );
(There are various technical reasons to avoid this style, but I think it looks too nice to avoid.)

As a result, a non-monospaced font would be a nightmare.

However, perhaps if you are using a language where everything is positional (Java, C), then maybe it doesn't matter:

    Foo foo = new Foo(args, go, here,
        and, if, you, run, out, of, room,
        perhaps, they, can, be, written,
        like, this);
Note that the only alignment is the initial indentation; one space is always as wide as another space, so a variable-width font won't mess anything up.

Obviously if you are using Haskell or Python, you will care even more about alignment, and hence will want a monospaced font. You will also want a monospaced font in your terminal emulator, as most console apps depend on all glyphs being equally wide.

Re:The Best Programming Fonts by Zev on Friday May 01, 2009 @01:27PM (#588803)
Espresso Mono gets my vote nowadays. Prior to that, I was using Consolas for the prior year or so.

I think I used Monaco or Inconsolata before that. Can't really remember.

Re:The Best Programming Fonts by pavelludiq on Friday May 01, 2009 @10:16AM (#588523)
I used to like Monaco, but its parentheses are kind of annoying if you program in a lisp like language, or if you need to nest a lot of parentheses. Now im using dejavu sans mono.
Re:The Best Programming Fonts by _giu on Friday May 01, 2009 @10:17AM (#588525)
my favorite programming font (and I think it is a pity that the article doesn't mention it): Envy Code R (http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-cod...)

I just love this font! it's such a beautiful piece of font-design and I only can recommend you to try it out!

Re:The Best Programming Fonts by blackman on Friday May 01, 2009 @12:06PM (#588672)
Re:The Best Programming Fonts by utx00 on Friday May 01, 2009 @10:26AM (#588535)
inconsolata

droid-sans mono

Re:The Best Programming Fonts by jemmons on Friday May 01, 2009 @10:43AM (#588559)
Re:The Best Programming Fonts by Sephr on Friday May 01, 2009 @07:15PM (#589294)
Same here, I love both of those fonts (except for Inconsolata's quotes).
Re:The Best Programming Fonts by nimbix on Friday May 01, 2009 @11:45AM (#588630)
I'm perfectly happy with Courier New. Most editors on windows use it by default and I never felt the need to change it.
Re:The Best Programming Fonts by Semiapies on Friday May 01, 2009 @06:14PM (#589246)
I've been happily using Proggy Clean for a while. It's even surprisingly readable printed at low point size.
Re:The Best Programming Fonts by windsurfer on Friday May 01, 2009 @09:34PM (#589410)
Proggy is nice if your screen is 640x480 and CRT, but I think LCD screens and font smoothing has made that font irrelevant.
Re:The Best Programming Fonts by Semiapies on Wednesday May 06, 2009 @05:39PM (#596787)
Mm, works nicely for me at 1280 x 1024 a monitor. Also quite reasonable-looking printed.
Re:The Best Programming Fonts by badger7 on Friday May 01, 2009 @10:20AM (#588532)
Grunties's comment FTW. "monospace good, non-monospace bad, all other considerations irrelevant. Next?"
Re:The Best Programming Fonts by _giu on Friday May 01, 2009 @10:27AM (#588539)
that's the same thought I had when I saw that Arial was the first item on their list. I once tried to use a non-monospaced font, but that lasted only a few seconds. it just doesn't fit!