Swift 6.4 Released

16 points by kevinc


mond

More natural optional some and any types. When writing an optional some or any type, you no longer have to wrap the type in parentheses. Instead of (some Rocket)?, you can simply write some Rocket? (SE-0521).

It's fun to follow Swift. As a fan of Rust, Swift feels similarly modern, while being significantly less principled, and more open to adding all sorts of kitchen sink convenience features.

(See also, the whole issues caused by adopting type inference and subtyping, causing exponential blowup and time outs on type checking one line programs.)

I am really happy that Rust avoided the fate so far, but it's also fun to have a point of comparison.