logoalt Hacker News

Barrin92 • today at 9:08 AM • 0 replies • view on HN

Ligatures were introduced for readability because in non-monospaced fonts characters could collide. Given that virtually every person reads code in monospace there's no function to ligatures.

And as for readability, there's an even bigger problem in that semantics matter immensely in programming. != should be replaced by its mathematical operator if you're writing a comparison, but potentially not in a string, comment or regex. Because fonts do character replacement, they're entirely unaware of programming semantics. You essentially add a context unaware level of interpretation on top of what used to be unambigious text.