Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Proportional fonts for programming

Name: Anonymous 2006-08-09 15:04

Today, I got the idea of using proportional (non–fixed width) fonts for programming. I used my typical language repertoire of Lisp, Python and C as test material. My remarks (note: I'm using Emacs on OS X with the default font smoothing settings):

* At least for me, proportional fonts are generally much more legible than monospaced ones — the "flow" of reading is vastly better, and scanning text is easier — and I find myself less often distracted when reading them

* It is clear that most proportional fonts haven't been designed with programming in mind; punctuation — especially brackets — in many of them turns easily into illegible jumble

* My favourite proportional fonts thus far have been Verdana and, rather surprisingly, Bitstream Vera Serif. They both offer clear ([{}]) and l1I separation, among other important things (Bitstream Vera Sans fucks up l and I).

* I'm not into lining up variable declarations, drawing cutesy ASCII boxes around comments and other related formatting masturbation (and fortunately don't work in any projects that does), so proportional fonts don't seem to visually break up any code I work on

* In a couple of occasions, though, I found some logically tabular code sections, which no longer visually convey their meaning. I've been thinking about creating either a toggle-monospace function or some kind of simple "start / end monospace section" tag processing minor mode for Emacs for these rare occasions.

* From the bit of research I did on the subject, it seems that proportional fonts are de facto among Smalltalkers. I've been meaning to get into Smalltalk for a while now, so that's an interesting tidbit.

Overall, I am very pleased by how well proportional fonts work for programming, and plan on continue using them. Are there any other /prog/rammers familiar with the subject? Any particular fonts I should try out?

Name: Anonymous 2006-08-09 18:13

Real programmers use fixed width fonts because they are easier to scan with our eye implants.

Name: Anonymous 2006-08-09 19:06

FAIL FOR EMACS
FAIL FOR NOT REALIZING COLOR FORMATTED TEXT (ALA VIM) IS WAYYYY BETTER THAN PROPORTIONAL CRAP
FAIL FOR PROGRAMMING ON OS X
FAIL FOR LISP (HARD GAY)
FAIL FOR YOUR CHEESY DOUBLE-EM DASH
AND YOUR ASTERISKS CAN BE SHOVED UP YOUR ASS AS WELL
FAIL FOR NOT LEARNING HOW TO INSTALL NEW PROPROTIONAL FONTS THAT ARE "PROGRAMMER FRIENDLY"
FAIL FOR NOT USING VIM IN A 180x96 TEXT CONSOLE MODE

Name: Anonymous 2006-08-09 20:01

>>1
Use Dejavu Sans, bitch.

>>1
Use monospace for ^\s+, bitch.

>>3
Fail for nonstandard terminal width.

Name: Anonymous 2006-08-09 20:04

I've used both, and usually I don't even notice when I'm using one or the other. Really.

It fucks up the alignment something nice if you don't use tabs though.

Name: Anonymous 2006-08-09 20:16 (sage)

>>1
Leave it to a Mac user to be so concerned about something so superficial and trivial as types of fonts when programming.  My guess is all of the programs that he has made are useless but look good, like those retarded desktop widgets.

Name: Anonymous 2006-08-09 21:10

>>1

I use proportional fonts for coding. Just make sure you use tabs :D

Heres's another +1 for DejaVu Sans

Name: Anonymous 2006-08-09 21:14 (sage)

dejavu sans mono > dejavu sans

Name: Anonymous 2006-08-09 21:38

>>4
FAIL FOR THINKING ALL TEXT MODES HAVE TO BE 80x25 LIKE DOS
NEXT TIME DO A LITTLE RESEARCH

Name: Anonymous 2006-08-09 22:01

>>9
80x25 = fail. 80x24 = win.

Please post links to any terminals using 180 columns, so I can masturbate furiously until I fall asleep on my cumstained (several of them still wet) bed.

By the way.  I hope you wrap your code at 80 characters.  Else I'll cut.

Name: Anonymous 2006-08-09 22:51

You sick bastard >:(

God I hate you so much. I USE FIXED WIDTH BITMAP FONTS NONE OF THAT GAY FAG ANTI-ALIASING FOR ME.

Name: Anonymous 2006-08-10 16:45

I masturbate to raster

Name: Anonymous 2006-08-10 18:19

ok so monospace or not, what fonts do you people use?
I'm gay for lucida console HAHAHaa.. i'm not really any serious programmer though.

Name: Anonymous 2006-08-10 21:01 (sage)

>>1
How have you people put so much thought into the fucking FONT you're programming with? I mean sure, pick a font you like and stick with it, but what the fuck is with the song and dance?

What a waste of time.

Name: Anonymous 2006-08-10 22:15

>>13

Bitstream Vera Sans Mono FTW.

Name: Anonymous 2006-08-11 11:38

>>13 is gay for the Windows crash screen

Name: Anonymous 2006-08-11 12:39

courier new ftw (in windows xp specifically...i think it needs antialiasing to look good)

Name: Anonymous 2006-08-11 13:38

Terminus ftw.

Name: Anonymous 2006-08-11 16:01

Fixed width fonts ftw

Name: Anonymous 2006-08-11 16:57

Name: Anonymous 2006-08-11 17:23

>>20
install it on a windows machine and then copy the files?

Name: Anonymous 2006-08-11 17:24

>>21

I don't have any around.

Name: Anonymous 2006-08-11 17:33 (sage)

>>22
Hack a Vista box and download it.

That's how I got all the Mac OS X fonts \^_____^/.

Name: Anonymous 2006-08-12 11:23 (sage)

Consolas, thread over.

Name: A challenger has appeared 2006-08-12 12:33

Name: Anonymous 2006-08-12 19:05

Name: Anonymous 2006-08-13 0:47

Name: Anonymous 2006-08-13 4:14

Name: Anonymous 2006-08-15 17:40

Consolas sucks sure there's —

Wait, it sucks for real reasons. I have three issues with it:

1. It does not support characters such as ├┼┤╒╪╛ etc. which means Consolas is not a good font for console applications (THE IRONY).
2. It's not instructed to be antialiased with Windows' classic (non ClearType) engine at small sizes.
3. It's not nice.

Classic IBM VGA BIOS fonts are the best. Any OpenType version of any?

Name: Anonymous 2006-08-15 21:46

I use Simon Tatham's fonts and his font tools. I can make my own damned monospace fonts.

Name: Anonymous 2006-08-17 21:31

Bitstream Vera Sans Mono

Name: Anonymous 2009-01-14 14:41

everything worth doing requires monads

Name: Anonymous 2010-06-27 12:53

ur gay

Name: Anonymous 2010-06-28 10:54

beware the army of 12 year old autistics

Name: Anonymous 2011-02-02 23:06

Name: Sgt.Kabu쮑ꮜkiman䗜櫦 2012-05-28 19:50

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List