[swift-evolution] Remove Failable Initializers
ilya.belenkiy at gmail.com
Tue Mar 8 09:56:14 CST 2016
Failable initializers are great when you don't care what kind of error
happened and can handle it locally and the same way for any error (for
example by skipping an element).
I'd be very sad to lose them.
On Tue, Mar 8, 2016 at 10:26 AM Thorsten Seitz via swift-evolution <
swift-evolution at swift.org> wrote:
> > Am 08.03.2016 um 11:07 schrieb Haravikk via swift-evolution <
> swift-evolution at swift.org>:
> > Just because someone opts to use error handling over a failable
> initialiser doesn’t mean they have to go overboard on the detail of their
> errors; it’s entirely possible to pick a reasonable middle-ground.
> And it is entitely possible to just use an optional. If you prefer to use
> error handling over failable initializers, fine, just do so, but don't
> force it on others who are perfectly happy with the option to use
> optionals, too.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution