this post was submitted on 09 May 2024
458 points (92.4% liked)
Programmer Humor
32472 readers
589 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ligatures ๐คข๐คฎ๐คฎ
What's wrong with Ligatures? It makes reading code a bit more tolerable.
I mean, I certainly wouldn't give someone else shit for using ligatures, but personally, I don't like them, because:
Do you also get surprised when you backspace a tab and suddenly it removes more whitespace than 1 characters worth?
Or did you learn it fast and really never think about it?
I think it's more a "getting used to" thing, that once learned, you don't think about, but it makes things more readable.
Sure, I could get used to it. But it being more readable is not even true for me, because the thing I got used to instead, is that
!=
is the unequals-operator. I see that much more often thanโ
.Studies show that ligatures improve readability, but I acknowledge that it's likely untrue for outliers.
For monospace fonts? I've heard of such research for proportional fonts, where ligatures definitely make sense to me. But yeah, I wouldn't assume such research to automatically translate to monospace.