4 ms·
The thing about adopting the ASCII Art pseudo arrow is that it bakes in an assumption that the dash character lines up vertically with the point on the angle br
by frou_dh 7y ago
The thing about adopting the ASCII Art pseudo arrow is that it bakes in an assumption that the dash character lines up vertically with the point on the angle bracket character. This simply isn't the case in plenty of fonts. So it often looks like crap if you pay attention.
- leshow 7y agoWhich fonts does it not look good in? Haskell, Rust, Swift, Ocaml, and I'm sure some others, all use this notation. And I've never seen the '->' look odd in any font I've ever used.
- frou_dh 7y agoI just went to the Rust homepage and clicked until I found an example of a function. It's being presented in Monaco where the dash is noticeably higher than the centre of the angle bracket.
- leshow 7y agoI haven't used anything other than linux for more than a decade so that probably explains it. Still, I've never heard this complaint before.
- ithkuil 7y ago> And I've never seen the '->' look odd in any font I've ever used. Funny; I'm reading this in a HN android app; I don't know which font it uses but I swear I'm staring at such a misaligned example.