[swift-evolution] proposal for a even simpler guard.. => guard!

Dave Abrahams dabrahams at apple.com
Tue May 3 13:15:00 CDT 2016

on Mon May 02 2016, Austin Zheng <swift-evolution at swift.org> wrote:

> +1. The force unwrap operator is basically a runtime assert that enforces the
> invariant that "this value should not be nil at this point of use, and if it is
> nil the programmer made a mistake". It is a perfectly legitimate tool for
> writing code that can't otherwise be expressed (cleanly or at all) using the
> other type system constructs.

Very well said.


More information about the swift-evolution mailing list