←back to thread

50 points fagnerbrack | 1 comments | | HN request time: 0.201s | 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. LandR ◴[] No.42197475[source]
Yes, a lot.

I use a plug in for vscode that does all sort of substitutions along with ligature.

E.g.

    (reduce + [1 2 3])
Shows as

    (Σ + 123)
Or

    (comp foo bar quax)
Becomes

    (∘ foo bar quax)
Etc, I find the conciseness so much easier to read.

Unfortunately the plugin can be buggy when you hsbe a lot if subs, I'd setup loads if I could. If only someone would fix it / make a version that works.