logoalt Hacker News

LiamPowell • today at 4:21 AM • 6 replies • view on HN

The state of ligatures is getting ridiculous. I had no idea what !=== was until I copy-pasted it, nothing in that ligature even resembled the underlying characters.


Replies

zerocrates • today at 4:35 AM

I'm firmly anti-ligature (the "coding" ligatures; normal text ones are fine). I always pick the variant that doesn't have them, or a different font.

I actually do like Iosevka, which this is based on, but just use the "Fixed" version.

codedokode • today at 8:30 AM

Yes they better only adjust the spacing or character shape so that they are still distinct symbols and not become a new symbol. For example, replacing --> with an arrow changes the meaning especially given that there exists actual arrow symbol. And the ligature for </ is just ugly. In code you need to see what every character exactly is (and be able to see special characters like tabs or non-breaking spaces).

etatester • today at 6:25 AM

Ligatures don't belong to code. Code is meant to be "parsed", you cannot spend any additional brain cycles on "beauty" that itself needs parsing.

Like a lot of design trends, it's design for design's sake and it's at odds with its actual intent.

➕ show 2 replies
sooheon • today at 4:25 AM

Yeah the ==, === based ligatures actively hurt readability because they turn a simple delineated count into an eyeballed measurement.

billybob9911 • today at 4:49 AM

whats so hard to understand ? its just a not-equals symbol with 3 lines instead of 2. If i saw that in a Js file. I'd know instantly what that meant

➕ show 2 replies
sick_of_slop • today at 5:10 AM

[dead]