[swift-evolution] Reconsidering SE-0003 Removing var from Function Parameters and Pattern Matching
Erica Sadun
erica at ericasadun.com
Thu Jan 28 12:25:04 CST 2016
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.
-- E
> On Jan 28, 2016, at 11:09 AM, Joe Groff <jgroff at apple.com> wrote:
>
>
>> On Jan 28, 2016, at 10:05 AM, Erica Sadun <erica at ericasadun.com> wrote:
>>
>> Do you realize how much confusion it would save if Swift just went with
>>
>> if bind foo = bar {...}
>>
>> with let semantics?
>
> I don't see how changing the keyword changes anything, no.
>
> -Joe
More information about the swift-evolution
mailing list