[swift-evolution] [Discussion] Swift for Data Science / ML / Big Data analytics

Brent Royal-Gordon brent at architechies.com
Thu Nov 9 07:31:46 CST 2017


> On Oct 31, 2017, at 9:31 PM, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Since you bring it up, Python exceptions will be annoying - As with other languages, Python can throw from an arbitrary expression.  Modeling everything as throws in Swift would be super-annoying and unergonomic for the programmer, because we'd require 'try' everywhere.  Thoughts on what to do about that are welcome!


Add a `throws!` keyword to Swift, indicating that if a call is not covered by a `try` or `try?` keyword, a `try!` should be implicitly added.

-- 
Brent Royal-Gordon
Architechies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171109/38faf1ac/attachment.html>


More information about the swift-evolution mailing list