[swift-evolution] Proposal: disallow nil in favor of .None

Paul Young paulyoungonline at gmail.com
Sun Apr 10 15:53:18 CDT 2016


Please forgive me if this has already been discussed, but I couldn't find
reference to it anywhere.

My proposal is pretty simple – disallow the use of `nil` and require the
use of `.None` instead.

I would like to understand if there are any technical (or otherwise)
reasons for `nil` to remain, or if it simply a remnant of interop with
Objective-C.

Thanks,

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160410/924087d6/attachment.html>


More information about the swift-evolution mailing list