News for hackers. Stuff that matters.
Re:Go vs. Swift [pdf] by tomjakubowski on Thursday January 19, 2017 @01:47AM (#13433667)
> Rust copied 'if let' from Swift (~2 years ago) despite having decent pattern matching; community consensus today is that it's highly worthwhile as a feature.

Rust copied 'if let' and made it far nicer and more capable by allowing arbitrary fallible pattern matches to be the condition. Then Swift 2 copied that improvement back with 'if case'.

There are no comments on this comment yet.