[swift-evolution] [Idea] if let value!

Austin Zheng austinzheng at gmail.com
Tue May 17 11:25:21 CDT 2016


A case can be made, of course. My personal opinion is that I don't want to see it in the language at any point. Others are free to agree or disagree.

Austin

> On May 17, 2016, at 9:21 AM, Matthew Johnson <matthew at anandabits.com> wrote:
> 
> 
>> On May 17, 2016, at 11:18 AM, Austin Zheng <austinzheng at gmail.com> wrote:
>> 
>>> 
>>> If people really want to pursue further sugar here I think it would be worthwhile to explore a direction that hasn’t already been debated extensively.  That is why I suggested thinking about `if unwrap`.  That said, I really don’t think current state is too bad.  It’s definitely not worth expending community energy on this when we clearly have more important things to focus on (like completing generics and ABI).
>>> 
>> 
>> 
>> I agree with Matthew. A marginal increase in developer convenience is, to me, not worth the additional complexity of special purpose syntax.
> 
> I think it’s fair to make a case for the special purpose syntax (which may or may not be accepted).  I just don’t think now is the right time to have a debate about it.



More information about the swift-evolution mailing list