[geeks] Web Browsers that Don't Suck

Joshua D Boyd jdboyd at cs.millersville.edu
Fri Apr 12 16:44:10 CDT 2002


On Fri, Apr 12, 2002 at 03:38:49PM -0600, jodys at helluin.org wrote:

> > i need syntax coloring when i code. thats about it.
> 
> Well assuming the terminal has bold, dim and underline, you can get
> a reasonable facsimile of syntax (not perfect, but does enough for me)
> One truism I've heard is "If your function is longer that 24 lines,
> it's to long", and a 132x24 terminal does help with that.

Syntax color to ansi graphics.

And 132x24 is cheating.  Those functions are supposed to be 80 columns wide,
no more.  Occasional 36 and rare 48 line functions are to be allow.  Using
line saving tactics like:
  if (x<0.0) x=0;
or
  for (int i=0; i<10; i++) c[i]*=a[i]*b;
are encouraged.

At least that is my view.

-- 
Joshua D. Boyd



More information about the geeks mailing list