Working With Guard in Swift

Episode 1

Exit Early With Guard

One of the key differences between junior and more senior developers is how they use the tools they're given. While a junior developer looks for that tool that gets the job done, a more senior developer looks for the tools that can get the job done and selects the most appropriate tool.

Episode 2

Guard Patterns, Tips, and Tricks

In the previous episode, we explored what the guard statement is, how it differs from the if statement, and when it's appropriate to use it. This episode takes it one step further. I show you several patterns I use on a daily basis that take advantage of the guard statement.