News for hackers. Stuff that matters.
Re:What Makes a Good Programming Font? by ashleyw on Monday December 22, 2008 @01:37PM (#406663)
I'm not a big fonts person, but when I found Bitsteam Vera Sans Mono I knew I loved it:

http://img376.imageshack.us/img376/1897/picture68gr5.png

It just looks fantastic to me — I simply don't get the attraction to fonts which look like they came directly from a 1970's typewriter! :)

(good anti-aliasing on OSX helps too...)

Re:What Makes a Good Programming Font? by GHFigs on Tuesday December 23, 2008 @07:11PM (#408245)
If you're on OS X and like Vera, you might take a look a Panic Sans, included in the app bundle of Coda. It's a tweaked version Vera Sans Mono. I can't put my finger on what they tweaked, but it's been my preference for some time now.
Re:What Makes a Good Programming Font? by tdupree on Monday December 22, 2008 @07:11PM (#407046)
I like your syntax coloring, what editor/color scheme?
Re:What Makes a Good Programming Font? by ericmc on Monday December 22, 2008 @07:52PM (#407073)
Most likely Textmate with the railscasts theme (http://railscasts.com/about).
Re:What Makes a Good Programming Font? by nailer on Monday December 22, 2008 @01:56PM (#406709)
Linux: Liberation Mono (already in your distro as 'liberation-fonts'). See http://en.wikipedia.org/wiki/Liberation_fonts

Windows: Consolas (install the Word 2007 viewer and you get it for free).

Re:What Makes a Good Programming Font? by smoody on Monday December 22, 2008 @03:32PM (#406851)
I second that. Liberation Mono rocks. And it is updated somewhat frequently, so it might be worth checking for a newer version or to install on a Mac. (they put a dot in the middle of zeros a while back, for instance)

https://fedorahosted.org/releases/l/i/liberation-fonts/

Re:What Makes a Good Programming Font? by kentosi on Monday December 22, 2008 @06:47PM (#407024)
Agreed. I can't go past consolas on windows. With linux I wasn't aware of liberation (thanks for that !!), but I've always downloaded courier new.
Re:What Makes a Good Programming Font? by manvsmachine on Thursday December 25, 2008 @10:08PM (#409917)
For linux, I've switched from Liberation to Inconsolata, which was inspired by Consolas; you might want to check it out:

http://www.levien.com/type/myfonts/inconsolata.html

Re:What Makes a Good Programming Font? by nailer on Saturday December 27, 2008 @08:41PM (#411591)
Thanks dude.
Re:What Makes a Good Programming Font? by kristiandupont on Monday December 22, 2008 @01:59PM (#406716)
I have been using verdana for two years now and I love it.I also use black on grey background, so my editor looks much like these comments.
Re:What Makes a Good Programming Font? by ComputerGuru on Monday December 22, 2008 @02:11PM (#406741)
Wait. You code in a sans-serif non-fixed-width font!?
Re:What Makes a Good Programming Font? by kristiandupont on Monday December 22, 2008 @04:31PM (#406912)
Yes. I guess it was Bjarne who convinced me to try it (The C++ Programming Language book was set with a variable width font). I find it pleasing to the eye and the sacrifice is .. well, what? Indenting still works and I don't do the block-style formatted comments etc.
Re:What Makes a Good Programming Font? by lallysingh on Monday December 22, 2008 @11:59PM (#407292)
It's a really good point -- not since punched cards & F77 has column number meant anything...

So why the monospaced font (I'm guilty of this as well)? Maybe it just sets our minds up for reading code instead of prose?

Re:What Makes a Good Programming Font? by swombat on Monday December 22, 2008 @05:09PM (#406945)
That's crazy talk!
Re:What Makes a Good Programming Font? by scott_s on Monday December 22, 2008 @05:23PM (#406954)
He convinced me for presentation, but I still code in a monospaced font.
Re:What Makes a Good Programming Font? by nailer on Tuesday December 23, 2008 @01:23AM (#407340)
Most programmer's fonts are sans-serif - eg

* the Bitstream Vera Sans Mono in Linux distro terminals

* Default terminal.app font in OS X

* Powershell / Visual Studio use Consolas in Windows

Those silly bars on the end of your typewriter font distract from the true shape of the character.

Agreed re: variable width being unusual.

Re:What Makes a Good Programming Font? by astrec on Monday December 22, 2008 @10:55PM (#407249)
I use Inconsolata as an alternative to Monaco: http://www.levien.com/type/myfonts/inconsolata.html
Re:What Makes a Good Programming Font? by tlrobinson on Monday December 22, 2008 @10:55PM (#407247)
CodingHorror has some discussion on this:

http://www.codinghorror.com/blog/archives/000157.html

http://www.codinghorror.com/blog/archives/000969.html

Personally, I used ProFont (http://www.tobias-jung.de/seekingprofont/index.html) for awhile, but when I got a new computer I forgot about it and reverted back to Monaco.

Re:What Makes a Good Programming Font? by rw on Monday December 22, 2008 @07:58PM (#407080)

  -*-fixed-medium-r-normal-*-18-*-*-*-*-*-*
Re:What Makes a Good Programming Font? by johnm on Monday December 22, 2008 @02:56PM (#406808)
Clean sans serif, monospaced.

Consistent baseline.

Distinguished forms (i.e., 0/O, S/$, (/{, 1/l, etc.).

Good weighting at various sizes.

Re:What Makes a Good Programming Font? by tremendo on Tuesday December 23, 2008 @08:22AM (#407519)
Agree with these criteria. I personally like also some "airiness" so the Bitsteam Vera Sans Mono mentioned seems a bit too compact for me, but the Liberation fonts were a nice surprise.

Personal favorites include Andale Mono, Dina and Consolas (Inconsolata is sometimes adequate except it doesn't seem to scale well to different sizes). For some reason I've always used Crisp for javascript, even if it too does not scale well at all, and is in fact too small for my tired eyes.

Re:What Makes a Good Programming Font? by tdavis on Monday December 22, 2008 @01:03PM (#406617)
I'm a big fan of Pragmata. It's the only programming font I've tried that hasn't had nagging annoyances.
Re:What Makes a Good Programming Font? by nailer on Monday December 22, 2008 @02:07PM (#406734)
Re:What Makes a Good Programming Font? by dimitar on Monday December 22, 2008 @04:05PM (#406881)
terminus by Dimitar Zhekov (we aren't related).

"Terminus Font is designed for long (8 and more hours per day) work with computers." http://www.is-vn.bg/hamster/

Re:What Makes a Good Programming Font? by ralph on Tuesday December 23, 2008 @08:44AM (#407536)
One where __ looks like two underscores and not a single line.
Re:What Makes a Good Programming Font? by vincentpants on Monday February 16, 2009 @03:52AM (#482824)
Honestly, I think Droid Sans Mono is my favorite. so clean
Re:What Makes a Good Programming Font? by mattdennewitz on Monday December 22, 2008 @04:07PM (#406883)
imo, monospaced and something i dont have to think about
Re:What Makes a Good Programming Font? by DanielBMarkham on Wednesday December 24, 2008 @09:46AM (#408818)
We've done this before.

http://apps.ycombinator.com/item?id=328670

http://news.ycombinator.com/item?id=255257

http://news.ycombinator.com/item?id=206686

I'm of the opinion that the third or fourth time a topic is repeated, it (and supporting comments) should be added to a HN Wiki.

I think it would make a great resource for us.