This is the P2PU Archive. If you want the current site, go to www.p2pu.org!

Introduction to Ruby and Rails

My recent threads

You haven't posted any discussions yet.

Recently updated threads

Fonts.

Go back to: General discussion

I know we haven't started learning yet and this topic doesn't really apply directly to Ruby on Rails but more to programming / development in general. I look at quite a bit of code on a day to day basis whether it's something i'm messing with at work trying to write a utility to help me be more productive or something i'm hacking together (literally, i'm just learning) at home I think the font that you pick is important.

I just wanted to take some time to open a dialog for people to suggest and talk about their font preference. Also feel free to list a color theme for your editor of choice but please avoid turning this into a vim  vs emacs vs textmate war.

I'll start, my top three favorite fonts are:

1.) Anonymous Pro, Freely available -- I used monaco until this.
2.) Monaco, Included with Mac OSX 10.6
3.) Consolas, Available here
 

it's a close race with #3, I'd almost put Andale Mono there instead of Consolas. As far as color theme goes I use Molokai which is a vim version of the Monokai theme for TextMate. i was able to find a similar theme for emacs here. I don't know if anyone here works in Visual Studio but you can find another port of Monokai for VS here.

I hope some others have some great theme and font suggestions. If you aren't quite to the point of worrying about fonts and editors yet, that's perfectly alright. They are just tools and some people have a preference for using one over the other -- your editor and font will not write beautiful code for you.

Michael Kelly's picture
Michael Kelly
Wed, 2011-01-12 17:43

I prefer Dina as my programming font, and usually use the Obsidian color scheme from Notepad++, although there's very few ports I've ever been able to find for the scheme.

Monokai does look interesting, though. I may try it out.

Henry Liu's picture
Henry Liu
Wed, 2011-01-12 17:54

Anonymous Pro looks really good.

I'm a fan of Blackboard, which is a vim port of the Blackboard theme for textmate. There's an approximate emacs port here. It's similar to Monokai - same general color palette, swapping out pink for orange - but a bit more subdued.

Jim Rollenhagen's picture
Jim Rollenhagen
Wed, 2011-01-12 19:14

Anonymous Pro does look good. Currently using Monaco, but may give it a try.

I use Textmate as my editor with the built-in Blackboard theme. It's easy on the eyes, nice colors but not too bright.

Monokai looked pretty good to me, but the first sentence after the theme preview turned me off (coming into this course): "I haven’t optimized this theme for Ruby on Rails."

Ali Asad Lotia's picture
Ali Asad Lotia
Wed, 2011-01-12 19:19

Thanks for starting this thread. I'm a big fan of nice typefaces and feel that the variable width ones get more attention in general.

Folks may also want to check out Inconsolata http://www.levien.com/type/myfonts/inconsolata.html which is the fixed width font, I use when developing and set as the default fixed width font for terminals, text editors, IDEs.

Igor Vorobiov's picture
Igor Vorobiov
Thu, 2011-01-13 08:03

As long as fonts don't look too silly I usually don't care about them. I use Notepad++ and its default fonts on Windows 7 totally satisfy me. Regarding background color, I've seen some people put black color. I hate this, I mean I hate black background color or any other dark colors. My preference usually white background color :-)

1 person liked this
Mario Duck's picture
Mario Duck
Thu, 2011-01-13 12:08

I actually preffer dark backgrounds over clear ones, not because they look prettier (they don't), but because its much easier to read your code when the whole screen is not shinning all over your face :P

Jeremy Brooks's picture
Jeremy Brooks
Thu, 2011-01-13 08:48

I use pretty much any monospaced font, and switch back and forth between color themes based around a white background and a black background.

saikrishna poddutur's picture
saikrishna poddutur
Thu, 2011-01-13 19:06

i usually prefer dark background, generally black. Well, i am not really a font person actually i comfortable with any font that is legible.

Fabio Pozzi's picture
Fabio Pozzi
Fri, 2011-01-14 00:56

I feel comfortable with the Inconsolata font inside Aptana Studio.
So I use a light font on a dark background, it was quite unusual at first, but now I think it's quite relaxing for the eyes.

Kai Vong's picture
Kai Vong
Mon, 2011-01-17 08:45

I'm really digging panic's font included with coda =D

Emmanuel Baako's picture
Emmanuel Baako
Mon, 2011-01-17 16:49

I hadn't bothered paying attention to fonts before. Now I can't stop trying new ones. Great stuff folks.

Hany B's picture
Hany B
Wed, 2011-01-19 02:15

Just installed Anonymous Pro, will try it out - thanks!

Jefferson Kirkland's picture
Jefferson Kirkland
Thu, 2011-01-20 06:33

I tend to just stick with fixed width fonts. I don't really have a favorite per se. But, I do like a black background with lighter text, not to harshly bright though.