Swift delight: availability checking
— Jordan Rose (@UINT_MIN) October 29, 2021
This is all about going further than plain binary compatibility, so let’s talk about what that means.
Part of the Swift Regrets series.
Swift delight: availability checking
— Jordan Rose (@UINT_MIN) October 29, 2021
This is all about going further than plain binary compatibility, so let’s talk about what that means.
Part of the Swift Regrets series.
Swift regret: no-payload enums implicitly conforming to Hashable
— Jordan Rose (@UINT_MIN) October 22, 2021
This was added very early in Swift. Pattern-matching is all well and good, but in ObjC you can compare enums with `==` and we didn’t want to take that away.
Part of the Swift Regrets series.
Swift regret: cross-file access to let/var in “top-level code”.
— Jordan Rose (@UINT_MIN) October 20, 2021
This one’s going to take a bit to explain but I think it’s got an interesting analysis behind it. There’s a tension between two different design choices to make the language more convenient.
Part of the Swift Regrets series.