question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Font with ligatures for code is misleading

See original GitHub issue

Hello! Noticed in the docs at https://ofek.dev/hatch/latest/meta/faq/#build-system this snippet:

ligature

In my opinion using such a font has huge potential for confusion. and >= are different things and use different characters, even if the doc snippet does copy-paste as proper >=. I think the confusion created here (imagine a beginner wondering how to type the math greater-or-equal character, or pasting from the docs and getting something different in their editor) outweighs the small aesthetic value of the font.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ofekcommented, Dec 31, 2021

That works, thanks!

0reactions
ofekcommented, Dec 31, 2021

Ah I see! I’ll try that 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ligatures in programming fonts
Programming code has special semantic considerations. Ligatures in programming fonts are likely to either misrepresent the meaning of the code, ...
Read more >
Ligatures in Programming Fonts: Hell No | Hacker News
With programming ligatures it looks distractingly bad. Normally it's a continuous row of two-bars, but with them ligatured they look like morse ...
Read more >
Why should or shouldn't programming fonts have ligatures?
There's no good reason for ligatures in a font intended for coding. In normal typesetting, ligatures are usually are designed to solve the...
Read more >
Wrong ligature symbols when using pretty-code module #797
The problem is simply that Emacs doesn't support Opentype ligatures so you have to use fonts with the ligatures pre-rendered in the PUA...
Read more >
Monospaced Programming Fonts with Ligatures
Three of the most interesting and thoughtful monospaced programming fonts with ligatures are Fira Code, Monoid, and Hasklig. I say "thoughtful" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found