[swift-evolution] Swift null safety questions

Josh Parmenter jparmenter at vectorform.com
Tue Mar 7 10:54:02 CST 2017


On Mar 6, 2017, at 7:52 PM, Elijah Thomas Johnson via swift-evolution <swift-evolution at swift.org<mailto:swift-evolution at swift.org>> wrote:

Says: Fix it: Insert !
Should say: Fix it: Use optional binding.

I agree with this in general. I tell people that I’m teaching that unwrapping uses ‘!' for a reason. It should scream at you that something is happening that probably needs more careful attention.

Best,
Josh


Joshua Parmenter | Engineering Lead, Apple Technologies

T 248 777 7777
C 206 437 1551
F 248 616 1980
www.vectorform.com<http://www.vectorform.com/>

Vectorform
2107 Elliott Ave Suite 303
Seattle, WA  98121 USA

Think Tank. Lab. Studio.
We invent digital products and experiences.

SEATTLE | DETROIT | NEW YORK | MUNICH | HYDERABAD



More information about the swift-evolution mailing list