Swift also supports enumerations with associates values, which is super useful: https://docs.swift.org/swift-book/documentation/the-swift-pr...
Thanks for the links - I did the Swift Tour and the language has indeed come a long way since I tried it last time; quite expressive and nice to write in. Hopefully it gains traction in non-Apple circles as well.
Optionals: https://docs.swift.org/swift-book/documentation/the-swift-pr...
Result: https://developer.apple.com/documentation/swift/result