4 ms·
A good sign in a type system for me is that the types are accurately modeling behavior that I find in day to day code. To the point where moving back to a langu
by _hardwaregeek 7y ago
A good sign in a type system for me is that the types are accurately modeling behavior that I find in day to day code. To the point where moving back to a language that lacks this feature feels weirdly unsafe or not expressive enough. Going back to C APIs, with their states that need to be read via bit masks or through special integer return values, is just painful after using discriminated unions. Likewise being able to have multiple owners to a value is a little weird after using Rust.
Also what's the deal with the fi ligature in the code? It throws off the kerning and holds no purpose.
- reificator 7y ago> Also what's the deal with the fi ligature in the code? It throws off the kerning and holds no purpose. I'm not seeing a ligature there, or at least not an obvious one. What browser/platform are you using?
- _hardwaregeek 7y agoInteresting. The CSS is using `-moz-font-feature-settings: "liga" on` for some reason. I'm using Firefox on macOS. I assume you're not?
- reificator 7y agoFirefox on Windows. Do you have a screenshot? Maybe I'm just blind.
- _hardwaregeek 7y agoHere you go: https://gfycat.com/angrycanineboa https://gfycat.com/angrycanineboa Click the gear if it's too small for you.
- reificator 7y agoFont-Family for me is "SFMono-Regular","Liberation Mono","Roboto Mono",Menlo,Monaco,Consolas,"Courier New",Courier,monospace Looks like I'm falling all the way back to consolas. I'm pretty sure SFMono comes with macOS, which explains the platform differences between us. That might explain why the fi ligature has been a common complaint lately, as more people start using San Francisco in their sites.
- stouset 7y agoJust checked on Safari in Catalina, I don't see an `fl` ligature.
- saagarjha 7y ago> I'm pretty sure SFMono comes with macOS, which explains the platform differences between us. Not in a way that would be relevant here. I’d expect this font stack to fall back to Menlo on macOS.
- reificator 7y agoAnd does Menlo have this ligature? I don't have a mac to test with.
- saagarjha 7y agoIt does, but it only works in Safari if I add font-feature-settings: "liga" on.
- deleted 7y ago[deleted]