coding convention hint(s)

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

coding convention hint(s)

Post 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?
"great expectations"
User avatar
Kjell
Posts: 1924
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

:idea:

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

K
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

Hey, thanks!

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

:)
"great expectations"
Post Reply