[swift-evolution] Remove Failable Initializers
antonyzhilin at gmail.com
Sun Mar 6 03:34:32 CST 2016
Without adding more arguments, I agree with what has been said before me.
Failable initializers replace factory methods in other languages, fitting
into Swift error model.
Basically, init() behaves as `(Args)->Self` function, and should be able
to express errors as other functions: `(Args)->Self?`, `(Args)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution