ericasadun.com ericasadun.com

The Great var-vs-let War of 2016 Armistice

Prior to Swift’s open sourcing, SE-0003, which eliminated var from function parameters and pattern matching was accepted into the language for Swift 3.0. Since then, the Swift community has pushed back and pushed back hard against this decision, particularly when using var in case pattern matching and if/guard/for statements. Today, the Swift team issued a statement: The core team met to discuss SE-0003, and we have a new conclusion,...