5 ms·
Did anyone look at some code in Visual Studio with this font. You'll be surprised how `!=` looks like with this font (C++), it's pretty cool [and I've never se
by degski 7y ago
Did anyone look at some code in Visual Studio with this font.
You'll be surprised how `!=` looks like with this font (C++), it's pretty cool [and I've never seen anything like it before]!
- guessmyname 7y ago> You'll be surprised how `!=` looks like with this font […] For anyone curious, you can see it here [1] (check the last character). [1] https://raw.githubusercontent.com/microsoft/cascadia-code/master/images/cascadia-code-characters.png https://raw.githubusercontent.com/microsoft/cascadia-code/ma...
- degski 7y agoIt looks different from that, let's have the spoiler: it looks like '=/=', but with the equal signs attached and the forward slash just 'on top' of it.
- auscompgeek 7y agoI think you're trying to describe an elongated `≠`?
- degski 7y agoYip. It also contracts the '==', i.e. they are shown attached as one elongated '='.
- deleted 7y ago[deleted]
- throwaway8941 7y agoNot the best decision I think, too much resemblance to the division assignment operator: x /= 10;
- degski 7y agoThe last character guessmyname refers to is what '/=' looks like.
- deleted 7y ago[deleted]
- nitinreddy88 7y agoThis is something interesting. Just now tried it in VS and it's pretty cool :)
- saagarjha 7y agoI think the word you’re looking for is “ligature”.
- hmsync 7y agoIt's font ligatures, it can be enabled by setting CSS `font-variant-ligatures` property with some fonts, such as "Fira Code" font.
- unhammer 7y agoSomeone wants C to look like Haskell? (as always, the Haskell users have taken it quite a bit further: https://github.com/i-tu/Hasklig/#hasklig--ligatures-for-code https://github.com/i-tu/Hasklig/#hasklig--ligatures-for-code )
- remix2000 7y agoWhat do you mean? Fancy symbols in code look rather APL-ish than Haskell-ish. IIRC, while Haskell lets you use variety of Unicode symbols both as function names and operators, they are not very popular amongst Haskellers.
- helb 7y agoThese are called "ligatures". My long-time favorite font, Iosevka, does 'em too: https://github.com/be5invis/Iosevka#ligations https://github.com/be5invis/Iosevka#ligations Another coding font thread from 2017 with some other examples: https://news.ycombinator.com/item?id=15255523 https://news.ycombinator.com/item?id=15255523