4 ms·
I've never understood why some programmers like to use ligatures, especially on a cheat sheet like this, which will be used primarily by people who aren't famil
by dekerta 5y ago
I've never understood why some programmers like to use ligatures, especially on a cheat sheet like this, which will be used primarily by people who aren't familiar with the syntax.
It's not 'a' ⇒ 1, it's 'a' => 1, just write it out the correct way. Why are you trying to be fancy?
- martin_a 5y agoThis is done by the used font, in the markup it's correct.
- CornCobs 5y agoLooks like iosevka to me. Lovely font EDIT: I wrongly assumed at a glance because of the shape of the $. On closer look the characters are much wider than iosevka. It's jetbrains mono
- enobrev 5y agoOverall I think this is reasonable, but the font I'm using on my ide has ligatures and I think they provide a vastly better reading experience.
- someuname 5y agoBecause you're an idiot who doesn't know how fonts work.
- mdp2021 5y agoBecause the characters '=>' have been used to simulate exactly the character '⇒' : to mean an arrow, not e.g. "equality then greater than".