Working With Guard in Swift

2 Episodes

Episode 1

08:17

Exit Early With Guard

One of the key differences between junior and more senior developers is how they use the tools they are given. While a junior developer looks for any 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

06:27

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.