Swift Review, Day 2

On the second Swift language review day of 100 Days of Swift, I can honestly say that I don’t think I really learned anything new, but I did start thinking about a topic that’s probably going to want its own blog post at some point: when to use optional chaining vs when to use explicit unwrapping via if let or guard let vs when to use nil coalescing. They’re all doing pretty much the same thing: safely unwrapping an optional value, and I would guess that most developers learn one technique first and lean on that, so it might be nice to iterate the strong points and natural use cases for each.