I would suggest reading existing discussions on this topic:
- An implicit return for guard
- Inferred return for guard statement
- Proposal: Add implicit/default else-behaviour for the guard statement
- Guard Implicit Fallback
- guard let x = x
Here's what Chris had to say about this:
Personally, I don't see the benefit of dropping curly braces, else
or return
(or a combination of them) - while you get rid of a few keystrokes, you lose a bit of clarity which isn't very nice.