logoalt Hacker News

efortis • yesterday at 11:38 AM • 11 replies • view on HN

Monospace for coding is suboptimal. e.g. this proportional coding font is much more legible

https://github.com/ericfortis/camelana


Replies

wren6991 • yesterday at 11:54 AM

This reminds me of how much I dislike ligatures in coding fonts. They just look odd and out of place, and for things like JS or Verilog triple-equal I think they are less distinguishable than the individual characters.

bovermyer • yesterday at 11:47 AM

Adding spaces to the variable names is awful. I suspect that might be the IDE in the screenshot, rather than the font, though.

➕ show 2 replies
samwhiteUK • yesterday at 12:54 PM

That's absolutely horrific

zokier • yesterday at 12:57 PM

I'm proponent of proportional fonts for coding but your example is pretty wild (to be generous) typographically.

Check Lisnoti Code or Input samples for more traditional yet proportional styles:

https://lisnoti.com/code/

https://input.djr.com/preview/

➕ show 1 reply
gavinray • yesterday at 2:03 PM

What a neat idea, I've never heard of this but can see the appeal

grosswait • yesterday at 1:16 PM

I thought I was one of those people who was mostly ambivalent about fonts – I see others commenting that share this position. But this font in this use case revealed some emotion. I hate this one.

broodbucket • yesterday at 11:42 AM

I'm glad you like it but personally for me, you may as well just use Comic Sans at this point, it looks horrendous

moffkalast • yesterday at 11:56 AM

It is more distinctive for specific sections I suppose, but man is it ugly.

lxgr • yesterday at 12:03 PM

Maybe in isolation, but in a world full of people experienced to see variablesNamedLikeThis, this seems like a terrible idea.

urams • yesterday at 11:47 AM

I couldn’t disagree more. I find it much less legible and understandable and ugly to boot.

darkerside • yesterday at 12:57 PM

Why would I want to be confused around whether this is one variable or two separate words?