Comment

Comment by ajross

> Calibri font has "I" and "l" the same, according to Wikipedia. A better font should avoid characters being too similar (such as "I" and "l" and "1").

Only when used in a context where they can be confused. This is a situation where HN is going to give bad advice. Programmers care deeply about that stuff (i.e. "100l" is a long-valued integer literal in C and not the number 1001). Most people tend not to, and there is a long tradition of fonts being a little ambiguous in that space.

But yes, don't use Calibri in your editor.

parent ajross 10 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton