[swift-users] "business applications market" flame
don.wills at portablesoftware.com
Wed Jan 6 15:12:31 CST 2016
> On Jan 6, 2016, at 1:15 PM, Jens Alfke <jens at mooseyard.com> wrote:
> * The requirement of the ‘try’ prefix means that if a function that isn’t failable later gets modified to be failable, every call site will now trigger a compile error due to the missing ‘try’ keyword. This means the programmer who made the change will have to go through the codebase and consider the possibility of failure and adjust the call site accordingly. This is a really good thing!
It also means that every third party API provider will *never* be able to change any method signature from failable to non-failable or vice-versa. That is a really bad thing! This concern is why Microsoft rightly chose to have *only* non-checked exceptions in C# (Java has both checked and non-checked).
More information about the swift-users