[swift-evolution] [Discussion]: Deprecate !-Unwrapping of Optionals

William Dillon william at housedillon.com
Mon Feb 29 15:13:21 CST 2016


On February 29, 2016 at 12:31:46 PM, Joel Lopes Da Silva via swift-evolution (swift-evolution at swift.org) wrote:
I’m not sure about deprecating force unwrapping altogether; it might be too early for that.

But I think it would be a good idea to create a new opt-in compiler warning flag that would point to any code that relies on force unwrapping (whether explicitly, or with implicitly wrapped optionals).

--  
Joel Lopes Da Silva


I agree strongly with this point.

- Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160229/03ecc6db/attachment.html>


More information about the swift-evolution mailing list