4 ms·
The content is interesting but the use of ligature really put me off guard at first, and I am very familiar with Rust. I cannot imagine it being good for beginn
by KolmogorovComp 3y ago
The content is interesting but the use of ligature really put me off guard at first, and I am very familiar with Rust. I cannot imagine it being good for beginners to grok its syntax.
This has reminded me of https://news.ycombinator.com/item?id=35925821 https://news.ycombinator.com/item?id=35925821 recently reposted, which boils down to:
> if you’re preparing your code for others to read—whether on screen or on paper—skip the ligatures.
- xmcqdpt2 3y agoYeah I think the ligature debate is a bit tiring frankly but one place where putting ligatures is very clearly a bad idea is in code examples. A blog is not my IDE, I can't turn them off and even worse I don't even know they are on! Can you use a unicode arrow for Rust closures? Is that what this is? I don't know!
- cryptonector 3y agoDo you mean the arrows? As long as they are fixed-width -single or double- it's ok and even pretty, but if variable-width fonts in code is a no-no for me.