I'm not sure those examples are what we should aim for. Generally I try to avoid force unwrapping, and specifically in these cases I belive a more reliable code would be produced without either ! or the !! operators:
https://gist.github.com/ilyannn/4c5530c75293db0324a04f50ae691b2a I understand coding styles may differ, but I do worry that we "promote" force unwrapping too much by inroducing another operator for it. Ilya. On Thu, Jun 29, 2017 at 6:55 PM Erica Sadun via swift-evolution < swift-evolution@swift.org> wrote: > > On Jun 29, 2017, at 9:13 AM, Dave DeLong <del...@apple.com> wrote: > > My usage of “!!” generally falls in to two big buckets: > > > I've incorporated all the feedback to date and updated the gist: > > https://gist.github.com/erica/423e4b1c63b95c4c90338cdff4939a9b > > -- E > > > _______________________________________________ > swift-evolution mailing list > swift-evolution@swift.org > https://lists.swift.org/mailman/listinfo/swift-evolution >
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution