←back to thread

50 points fagnerbrack | 1 comments | | HN request time: 0.21s | source
Show context
sxp ◴[] No.42189133[source]
Do programmers use those weird font ligatures in practice? E.g, Rendering `a != b` as `a≠b`. I've only seen them used by people who want to show how far they can push coding style away from the standard monospace low ASCII, but haven't seen any good justification for them.
replies(5): >>42189260 #>>42192111 #>>42192596 #>>42194228 #>>42197475 #
1. tkcranny ◴[] No.42189260[source]
I happily use Fira Code [1] with ligatures. It has nothing to do with pushing coding style away from monospace, and everything to do with readability. Aesthetics are certainly a part of it but perfectly compatible with it too.

Of particular note is that the JS arrow function becomes a real arrow ⇒, which is nicer than the operator-ish rendering of equals and a greater than sign. Other quality of life improvements are reshaping ripples of characters to be clearer, such as a reshape to www and **. Triple bar equals is nice too given the differences in JS.

[1] https://github.com/tonsky/FiraCode