[swift-evolution] Remove Failable Initializers

Brent Royal-Gordon brent at architechies.com
Thu Mar 3 02:59:20 CST 2016


> Error handling forces you to do something about the possibility of a failure.

So does using a failable initializer: the value is in an Optional, so you can't access it without either testing and unwrapping or just force-unwrapping. The type system, rather than the `try` requirement, is what forces you to handle the error, but it's the same idea.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list