[swift-evolution] [Pitch] Typed throws

Matthew Johnson matthew at anandabits.com
Mon Feb 27 20:46:53 CST 2017



Sent from my iPad

> On Feb 27, 2017, at 8:21 PM, Dave Abrahams <dabrahams at apple.com> wrote:
> 
> 
>> on Mon Feb 27 2017, Matthew Johnson <matthew-AT-anandabits.com> wrote:
>> 
>> If you don't believe typed errors will improve your code or if you
>> just don't want to deal with typed errors, just don't use them!
> 
> As I've tried to point out, it's not that simple.  You have to consider
> the complexity cost of adding a feature, whether people will be able to
> understand how to use it properly and when to avoid it, and what effect
> that use will have on the programming ecosystem.

I guess I believe the community is pretty wise about this kind of thing and have confidence in it to use this well especially if we are willing to refine the model as we learn from experience.  Who knows, maybe I'm too optimistic.

> 
> -- 
> -Dave



More information about the swift-evolution mailing list