Ad
  • Custom User Avatar

    Thanks! I'm curious, what's your criteria for using guard vs. if? I typically only use guard when failing the guard would be interpreted as a failure case for the method, or when I'm trying to unwrap an optional that I'd need to use later in the method.