[swift-evolution] Remove Failable Initializers

Thorsten Seitz tseitz42 at icloud.com
Sat Mar 5 10:21:12 CST 2016


> Am 04.03.2016 um 12:13 schrieb Andrew Bennett via swift-evolution <swift-evolution at swift.org>:
> 
> There's visually nothing to indicate that `Int(someString)` could fail.

That's not true, as the return type is an optional. This is not only visible but even has to be handled explicitly.

-Thorsten 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160305/762a7aa7/attachment.html>


More information about the swift-evolution mailing list