[swift-evolution] Reconsidering SE-0003 Removing var from Function Parameters and Pattern Matching
jgroff at apple.com
Thu Jan 28 12:55:58 CST 2016
> On Jan 28, 2016, at 10:25 AM, Erica Sadun <erica at ericasadun.com> wrote:
> Only in conditional binding, to clearly differentiate it from non-conditional binding. One of these things unwraps optionals. One of these does not. They both use the same keyword. It's a stumbling block for a lot of new devs.
> And I like where Jacob took it too.
Maybe. Were 'if let' not already drilled into developers' minds, IMO it'd be nice to replace it by 'if case _?'. We had tried that internally and got a lot of backlash though.
More information about the swift-evolution