[swift-dev] SE-0047 - Defaulting non-Void functions so they warn on unused results
Jody Schofield
jodyscho at gmail.com
Sun Oct 30 07:49:24 CDT 2016
Sorry, I'm sure this has been discussed before, but what the heck???
This feature is killing me. Now I have go add @discardableResult to every
function that returns a non-Void or use the ugly syntax `_ =`?
Until swift 3 I've really enjoyed the new language. Now I find it to be
getting too rigid for the sake of "protecting" me from myself. The safety
levels needs to be dialled back some.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20161030/aed0cdda/attachment.html>
More information about the swift-dev
mailing list