News for hackers. Stuff that matters.
Re:CodingFont: A game to help you pick a coding font by dylan604 on Monday March 30, 2026 @03:55PM (#47578956)
Going through this, I was introduced to <= being converted to a ligature which immediately ruled it as a nope for me. No monkey business with the characters of my code thank you very much.
Re:CodingFont: A game to help you pick a coding font by iNic on Monday March 30, 2026 @04:18PM (#47579216)
I like most ligatures, I wish I could selectively turn off just this one.
Re:CodingFont: A game to help you pick a coding font by pietervdvn on Monday March 30, 2026 @04:14PM (#47579166)
I don't like them as well. On this site, you can disable them with the checkbox on the top-right
Re:CodingFont: A game to help you pick a coding font by pmarreck on Monday March 30, 2026 @03:58PM (#47579003)
That is usually configurable at the terminal level- for example, both wezterm and ghostty have available configs to control this behavior.
Re:CodingFont: A game to help you pick a coding font by jwilliams on Monday March 30, 2026 @04:03PM (#47579066)
Good to know. I’ve been using ghostty and generally not a fan of the code ligatures (or just too stubborn to adapt!).
Re:CodingFont: A game to help you pick a coding font by r_lee on Monday March 30, 2026 @04:51PM (#47579557)
I'm not either. I think it may look "cool" visually but when trying to work with code with those in it, it seems odd, like that it's a single character even though it's not and it just breaks the flow
Re:CodingFont: A game to help you pick a coding font by pmxi on Monday March 30, 2026 @06:19PM (#47580430)
I didn't like them either. Thankfully, they can easily be disabled. See my config: https://github.com/pmxi/dotfiles/blob/e779c5921fbe308fad0c95...
Re:CodingFont: A game to help you pick a coding font by adrian_b on Tuesday March 31, 2026 @07:24AM (#47585761)
Because most of those who commented are among those who do not like ligatures, I must present a counterpoint, to diminish the statistical bias.

Some people like ligatures, some people do not like them, but this does not matter, because any decent text editor or terminal emulator has a setting to enable or disable ligatures.

Any good programming font must have ligatures, which will keep happy both kinds of users, those who like and those who dislike ligatures.

I strongly hate the straitjacket forced by ASCII upon programming languages, which is the root cause of most ambiguous grammars that complicate the parsing of programming languages and increase the probability of bugs, and which has also forced the replacement of traditional mathematical symbols with less appropriate characters.

Using Unicode for source programs is the best solution, but when having to use legacy programming languages in a professional setting, where the use of a custom preprocessor would be frowned upon, using fonts with ligatures is still an improvement over ASCII.

Re:CodingFont: A game to help you pick a coding font by pwdisswordfishy on Tuesday March 31, 2026 @07:56AM (#47586051)
A coding font is supposed to help you distinguish between characters, not confuse them for each other. Also, ASCII ligatures usually look worse than the proper Unicode character they are supposed to emulate. The often indecisive form they take (glyphs rearranged to resemble a different character, but still composed of original glyph shapes; weird proportions and spacing due to the font maintaining the column width of the separate ASCII code points) creates a strong uncanny valley effect. I wouldn't mind having "≤", "≠" or "⇒" tokens in my source code, but half-measures just don't cut it.
Re:CodingFont: A game to help you pick a coding font by mcookly on Monday March 30, 2026 @04:53PM (#47579581)
> That is usually configurable at the terminal level

And if you use Emacs, it's configurable at the buffer level. [1] This lets me build a version of Iosevka where `~=` and `!=` both become ligaturized but in different major modes, avoiding any confusion.

[1]: https://github.com/mickeynp/ligature.el

Re:CodingFont: A game to help you pick a coding font by craftkiller on Tuesday March 31, 2026 @01:56PM (#47591126)
No need to rely on app-specific configs. You can disable it globally in your fontconfig. For example, this disables ligatures in the Cascadia Code font:

  <match target="font">
    <test name="family" compare="eq" ignore-blanks="true">
      <string>Cascadia Code</string>
    </test>
    <edit name="fontfeatures" mode="append">
      <string>liga off</string>
      <string>dlig off</string>
    </edit>
  </match>

Here is someone disabling ligatures for Noto Sans Mono: https://blahg.josefsipek.net/?p=610
Re:CodingFont: A game to help you pick a coding font by dotancohen on Monday March 30, 2026 @05:59PM (#47580238)
This is also the first time I've noticed that some fonts have the center cane of the lower-case "m" shorter than the other canes. I love that!

Interestingly, Ubuntu Mono was the font I landed on - which is already the font that I use. At least I'm consistent.

Re:CodingFont: A game to help you pick a coding font by shrikant on Tuesday March 31, 2026 @06:58AM (#47585529)
I tend to bounce around between Ubuntu Mono, Fira Code and Comic Mono. Comic Mono is not amongst the participants in this game, and my finalists were Ubuntu Mono and Fira Code, so I guess I'm pretty pleased that I've stayed consistent as well!
Re:CodingFont: A game to help you pick a coding font by brikym on Monday March 30, 2026 @09:19PM (#47581674)
This is optional. There is a checkbox on the site to disable ligatures.
Re:CodingFont: A game to help you pick a coding font by jevndev on Tuesday March 31, 2026 @03:46PM (#47592458)
I love ligatures but I wish there was tooling for context sensitive ones. This is a really good example. When developing, I love <= turning into ≤. When running a cli that happens to use <= for the start of its progress bar… not so much
Re:CodingFont: A game to help you pick a coding font by antiframe on Tuesday March 31, 2026 @06:17PM (#47594216)
You are in luck! Editors do support customizing which ligatures get used where. For example, ligature.el lets me set only certain ligatures in certain modes. I like ligatures in Haskell, but dislike them in prose. I don't really customize at a finer-grained level than modes, but I could. Other editors should have similar configs.
Re:CodingFont: A game to help you pick a coding font by cloverr20 on Monday April 06, 2026 @07:35PM (#47668830)
I am like a fan of these ligature, and have been using fira code for a long time now. When i am writing equations on my own, this is how i would write, so it helps a lot. Without ligature these days i find it bit difficult to read these, <=, ==, => .
Re:CodingFont: A game to help you pick a coding font by Breza on Tuesday April 07, 2026 @09:37AM (#47675200)
I write a lot of R and I love fonts that convert <- and |> into a single character. It's definitely a preference, but it matches how my brain thinks about the code.