Optional is a fundamental type in Swift. While it’s almost everywhere, most developers don’t use it to the full extent or even use it in a wrong way. Such misconceptions lead to code duplication, amiss implementation of design patterns and neglect cool features available in Swift. There's a couple of crucial ideas behind this type that can make your daily Optional routine efficient and safer.
During the talk, we'll discuss how to and why we should avoid optional binding. By refactoring samples from code reviews, we'll learn what's great about functional programming in Swift. We'll also see how Optional affects DI and error handling and what can we do with it.
About speakeriOS Developer at Ciklum Solutions Team. I've been struggling with Xcode and Apple's attitude to developers since 2012. But still, I enjoy the process, try to learn something new and like to share knowledge with others.