When ever character matters (code development, etc.), there is a need for a font that meets the following:
- Monospaced
- Easily distinguishes between the uppercase letter O and the number 0. (Two circles with slightly different widths leaves plenty of room for error.)
- Easily distinguishes between the number 1, lowercase L and uppercase L
- Included on most devices ("Web safe"?)
Different characters that appear identical are known as "homoglyphs".
Example image of "Segoe UI" font failing the first three requirements (most importantly #2 and #3):
Example image of "Consolas" font passing first three requirements:
For fun, here are the same characters as text, presented with the "code sample" formatting. How they are displayed is dependent on your device:
O 0 1 l L
Finding a font that passes requirement 1 through 3 isn't hard to find - Consolas is a good choice. But as I'm aware, Consolas isn't included by default on most if not all Mac OS. So what are some next-best choices?