For people coming from C&#x2F;C++&#x2F;ObjC, some things in Swift can take some time to get used to, e.g.
if case .Success(let person) = personResult {
...
}
My first thought when I saw this was, &quot;only mother could love this syntax&quot;, but later you come to appreciate and enjoy the syntax.<p>Link: <a href="https:&#x2F;&#x2F;www.natashatherobot.com&#x2F;swift-guard-better-than-if&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.natashatherobot.com&#x2F;swift-guard-better-than-if&#x2F;</a>