Yvvitbhz86sjqwbpn1re
SkillsCast

Option(al) Is Not A Failure

21st March 2019 in London at CodeNode

There are 26 other SkillsCasts available from iOSCon 2019 - The conference for iOS and Swift Developers

Please log in to watch this conference skillscast.

Https s3.amazonaws.com prod.tracker2 resource 41088130 skillsmatter conference skillscast o9nohu

Should you use Optionals for errors in Swift, or do-catch? Or perhaps something else? Or not bother at all and rely on Bad Things never happening? For some, it might seem that Swift's error handling strategy is fragmented and different for the sake of it. Phil will try to convince you that nothing could be further from the truth. In fact, he believes that Swift has one of the best error handling stories of any mainstream language - and actually unifies some historically disjoint approaches, that have always had serious trade-offs, into a cohesive union that has almost none! You'll look at what the Error Handling mechanism in Swift really is, how it works under the hood, and why it deserves your appreciation. With just a small amount of care, it is possible to write highly reliable code that performs excellently. Whether you’re just starting out with Swift, or you’re a seasoned veteran, there will be something for everyone in this talk.

YOU MAY ALSO LIKE:

Thanks to our sponsors

Option(al) Is Not A Failure

Phil Nash

Phil is the author of the test frameworks, Catch - for C++ and Objective-C, and Swordfish for Swift. As Developer Advocate at JetBrains he's involved with CLion, AppCode and ReSharper C++. More generally he's an advocate for good testing practices, TDD and using the type system and functional techniques to reduce complexity and increase correctness. He's previously worked in Finance and Mobile as well as an independent consultant and coach specialising in TDD on iOS.re.

SkillsCast

Please log in to watch this conference skillscast.

Https s3.amazonaws.com prod.tracker2 resource 41088130 skillsmatter conference skillscast o9nohu

Should you use Optionals for errors in Swift, or do-catch? Or perhaps something else? Or not bother at all and rely on Bad Things never happening? For some, it might seem that Swift's error handling strategy is fragmented and different for the sake of it. Phil will try to convince you that nothing could be further from the truth. In fact, he believes that Swift has one of the best error handling stories of any mainstream language - and actually unifies some historically disjoint approaches, that have always had serious trade-offs, into a cohesive union that has almost none! You'll look at what the Error Handling mechanism in Swift really is, how it works under the hood, and why it deserves your appreciation. With just a small amount of care, it is possible to write highly reliable code that performs excellently. Whether you’re just starting out with Swift, or you’re a seasoned veteran, there will be something for everyone in this talk.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

Option(al) Is Not A Failure

Phil Nash

Phil is the author of the test frameworks, Catch - for C++ and Objective-C, and Swordfish for Swift. As Developer Advocate at JetBrains he's involved with CLion, AppCode and ReSharper C++. More generally he's an advocate for good testing practices, TDD and using the type system and functional techniques to reduce complexity and increase correctness. He's previously worked in Finance and Mobile as well as an independent consultant and coach specialising in TDD on iOS.re.

Photos