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

Vladimir.S svabox at gmail.com
Tue May 17 08:43:50 CDT 2016


It is common to shadow optional value name with unwrapped value with same name:

if let someGoodValue = someGoodValue {...}

What if we'll have a syntax to not repeat the variable name to achieve the 
same target:

if let someGoodValue! {...}

What do you think?


More information about the swift-evolution mailing list