Page 1 of 1

coding convention hint(s)

Posted: Wed Feb 17, 2010 5:19 pm
by y offs et
I've just happened to run into some problems in this area lately, so I thought to start a thread.

You probably don't know, but it is very hard to find a font that doesn't have the number one (1) and the lowercase L (l) that are actually different enough to distinguish between when standing alone.
Add wanting a readable mono-spaced font without it scrolling off the page, and the pickings get slimmer.

Since the number one is used extensively, lowercase L should be avoided, as in this example - "float aabbxl, float aabbxh, float aabbyl, float aabbyh,...".
I assume aabbxl refers to width, so why not use aabbxw?

Posted: Wed Feb 17, 2010 6:02 pm
by Kjell
:idea:

Use a programming font :) Dina is my personal favorite.

K

Posted: Wed Feb 17, 2010 6:44 pm
by y offs et
Hey, thanks!

I wish it was slightly bigger, but still, my tired old eyes can make it out.

:)