Not in a position to search for this myself at the moment, but for those unaware, somewhere on this list archive are posts from the core team describing the rationale for using throws instead of Result, and for having untyped throws by default with the door open for typed throws in the future as an _option_. Those threads were long and the points raised were thoughtful, and it&#39;s unlikely that replaying the conversation again will surface new points :)<br><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 27, 2016 at 11:48 David Waite via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="gmail_msg"><div class="gmail_msg">Although I have only partially vetted it myself, this came up for a google search: <a href="http://wiki.c2.com/?JavaExceptionsAreParticularlyEvil" class="gmail_msg" target="_blank">http://wiki.c2.com/?JavaExceptionsAreParticularlyEvil</a></div><div id="m_-8624924451759544399AppleMailSignature" class="gmail_msg"><br class="gmail_msg"></div><div id="m_-8624924451759544399AppleMailSignature" class="gmail_msg">-DW<br class="gmail_msg"><br class="gmail_msg">Sent with my Thumbs</div></div><div dir="auto" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg">On Dec 27, 2016, at 5:56 AM, Derrick Ho via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br class="gmail_msg"><br class="gmail_msg"></div><blockquote type="cite" class="gmail_msg"><div class="gmail_msg">Daniel Leping, I am unfamiliar with java.  Do you have any resources that describe the nightmare in detail?<br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Tue, Dec 27, 2016 at 2:50 AM Tino Heth &lt;<a href="mailto:2th@gmx.de" class="gmail_msg" target="_blank">2th@gmx.de</a>&gt; wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_msg"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="gmail_msg">-1 for specifying errors for throws. Please don&#39;t. Proven by practice in java it&#39;s a nightmare.</span></div></blockquote></div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg">In Java, this topic is really interesting:</div><div class="gmail_msg">It sounds like a great idea, but in real-life situations, afaics everyone hates checked exceptions.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">But Swift isn&#39;t Java, and our error handling is different from most established languages, so imho we shouldn&#39;t base that decision on experiences from other models only:</div><div class="gmail_msg">I don&#39;t see downsides, because you already need &quot;try&quot; for everything that can throw, and afaics, it would be easy to ignore the information that only a set of exceptions can happen in a given context.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">So, imho before there is a decision wether &quot;throws&quot; should be moved, the possibility to annotate it with a fixed set of error types should be either abandoned or incorporated. </div></div></blockquote></div>
</div></blockquote><blockquote type="cite" class="gmail_msg"><div class="gmail_msg"><span class="gmail_msg">_______________________________________________</span><br class="gmail_msg"><span class="gmail_msg">swift-evolution mailing list</span><br class="gmail_msg"><span class="gmail_msg"><a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a></span><br class="gmail_msg"><span class="gmail_msg"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="gmail_msg" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br class="gmail_msg"></div></blockquote></div>_______________________________________________<br class="gmail_msg">
swift-evolution mailing list<br class="gmail_msg">
<a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a><br class="gmail_msg">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="gmail_msg">
</blockquote></div>