Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've never understood why the lowercase l and 1 so often look the same in monospace fonts. It's not like anyone actually writes an l like that — why not just a small bottom right hook? And maybe a top left hook as well? But a whole base is insanity.


My first typewriter didn't have a "1" key. You were supposed to type lowercase L when you needed a "1".

Underwood 255: https://typewriterdatabase.com/img/gunderwood%20_10166_15186...


Because of the positioning you can press "l" then backspace then "." and get a serif on the bottom which makes it look a little-more one-like.

Similarly you get a "!" by doing "'" backspace "."


I agree that this is a bad decision for programming, but the reason most fixed-width fonts do that is that they can look visually uneven if they don't use exaggerated serifs on narrow characters. It can even get to the point where words look like they have spaces in them if the wrong characters are next to each other.

Monospace (https://monaspace.githubnext.com/) has a feature that dynamically changes between different versions of characters and moves them inside their space in the font grid to make up for that. But even so, its bottom serifs on 1, I, and l extend to both sides.

Cascadia Code (https://github.com/microsoft/cascadia-code) has a lower-case L whose bottom serif only extends to the right. It's the typeface I use for writing code, and IMO, it's currently the best option available.


> It's not like anyone actually writes an l like that

Excuse me?!


> It's not like anyone actually writes an l like that

Counterexample: looking at https://www.nist.gov/srd/nist-special-database-19, the example in the manual has a lowercase L that’s just a vertical line.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: