What Font Do You Use For Coding?
Roger Ramjet asks: "As an old schooler, I was somewhat hooked on VT100 terminals and coding with VI; however I never seem to be happy with fonts in DevStudio (amongst others). My question is, what fonts do you prefer to program with, and why?" As another "old schooler", I must say I do prefer monospaced fonts in a nice sans-serif for coding.
No matter what the platform, I use the standard 8x8 monospaced system font with all vertical lines at least 2 pixels wide.
Next, I bring the screen resolution down to the point where individual pixels are easily visible, and I set the background to a dark-to-medium blue or purple and use all brightly colored text. If syntax highlighting is available, keywords and symbols are white, numbers are green, comments are purple, and the rest is yellow.
For me, this makes it really easy to scan through code and stay in context.
---
My opinions are mine.
When working in windoes I use the old standby - Fixedsys - The font is bold enough to be read
Charlie
(also an old school programmer)
-- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
Dark Blue background
Text = Yellow
Keyword = White
Comment = Green
Number = Purple
String = Cyan
Operator = White
Does anyone know how to change the "standard" colors in Dev Studio? That magenta is next to useless, I would love to assign an arbitray color to it.
Lucida console
But I did just download neep, and it might be nice for a change.
I was using andale mono for a while - Microsoft's Truetype contribution to fixed width fonts.
My alltime favorite was dec terminal, but it is only available in 14 pt, which is not suitable on all the machines on which I code. But it reminds me of ForTran days hacking on VT terminals. Light green chars on a black background, using EDT.
All my current coding is black background, syntax highlighting on. Using JED with custom colors for highlighting.
I usually code in 14 to 16 point font. I find that at this level most of the "standard" fonts are usable (i.e. something in the courer-TNR-arial-whatever family). I usually end up using a TrueType version of courier if it's available.
I also go out of my way to get a) syntax highlighting (becuase no matter how good I get at C I always forget that fscking terminating */ ;-) ) and b) a dark back ground color scheme (this way the lighter colors in a syntax schema show up better).
--
News for geeks in Austin: www.geekaustin.org
News for Geeks in Austin, TX
Andal Mono 8 point is my coding default, on a 17-inch monitor at 1152x864 resolution. When I really need to see as much code as possible on my screen, I'll change down to HyperFont bit-mapped 8 point. I found a very useful review of monospace fonts here.
If you've spent any reasonable amount of time coding with standard fonts you've probably come to notice that standard fonts suck for coding :) { looks almost identical to ( (in monospace), ditto O and 0, : and ;, etc. A guy named Jim Knoble puts out a set of fonts called "Neep" that are designed specifically to address these issues. You can get them here. I switched over to these using a high-contrast color scheme in Emacs a few months ago and my eyes love me for it. If you are having problems with squinting/eye strain you should give these a shot.
--
I think there is a world market for maybe five personal web logs.
The reason for this is the serifed fonts these pages use: the serifs are very useful for guiding the eye between letters in long lines of text when the text is dark and the background is light. In inverse colour, they actually make it hard to make out the shape of the letters, so a sans-serifed font is advisable.
what colour schemes? When coding, I found it to be less a problem about specific fonts than I did about the brightness of what I was looking at.
A black shell (heck - even DOS) with white characters has always been easier on my eyes than a bright GUI interface (like the Windows default) with black characters. I'm unsure why, because I have a hell of a time reading the black-background web pages out there like Segfault or Planetquake to name a couple, but for some reason the old 80x25 black and white has always been easy on my eyes. Funny thing about the web sites, though - I have the problem on IE much more than on Netscape, but it's still there on both browsers. I end up highlighting all the text on the page just so I can read it.
If you're sticking with the windowed environments with more font choices, I'd have to say that I've always liked to work with Arial Black. It's not as harsh to focus on like the Courier or Times New Roman fonts that seem to be default just about everywhere. The characters are thicker and nicely rounded, and look good to me in many different resolutions.
You can accomplish anything you set your mind to. The impossible just takes a little longer.