News for hackers. Stuff that matters.
Re:Dev Fonts by gvx on Friday November 20, 2020 @06:36AM (#25159485)
To me, ligatures in programming always file like a kind of syntax highlighting if that worked on the character level rather than the token level. Suppose given `difficulty = 3` your editor would highlight the `if`. That's how these ligatures feel to me.
Re:Dev Fonts by SamBam on Friday November 20, 2020 @09:07AM (#25160528)
That doesn't usually happen, though.

For example, if you type three '=' symbols in Firas Code or JetBrains Mono, you get ≡, but if you type a fourth '=' it snaps back to '===='.

I can invent some odd situations where I get a ligature in the middle of a string, but in actual coding (for me 80% JS, 10% HTML/CSS and 10% Ruby) I simply don't see any incorrect ligatures.

Re:Dev Fonts by indentit on Friday November 20, 2020 @08:17AM (#25160147)
But most text editors don't render ligatures if the characters span token boundaries. Sublime Text at least doesn't.