<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Interesting.<br>
Didn't know you had written a module like that.<br>
<br>
Teal<br>
<br>
<blockquote
cite="mid:CAFwScO_prjrcR4CD2GWBkAGee67eH32cq07Y1p1UEzAEBB8hLQ@mail.gmail.com"
type="cite">
<div>Yes indeed. their "defer" mechanism gets to be catch blocks
as an extra thing. I wonder if the Go compiler treats recover()
specially to optimize happy paths. It certainly could.</div>
<div><br>
</div>
Go is the first compiled language I've seen with "Yoda's
exceptions" as discussed thirteen years ago on
<div>the perl six development lists. They recommend against using
them, and didn't even bother to suggest repanicking with the
received exception after recovering an unexpected panic topic.
Which is obvious to </div>
<div>anyone who likes exception-based control flow, so no hard
feelings. I like the way that the "defer" keyword, which is like
on_exit from CPAN (my version works better! prefer
local$on_exit, it will continue to work right even if garbage
collection starts getting deferred) doubles as "catch."</div>
<div><br>
<div class="gmail_quote">On Fri, Apr 26, 2013 at 3:52 PM, Teal <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:ironicface@earthlink.net" target="_blank">ironicface@earthlink.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>I think the go approach is pretty interesting.<br>
Seems to create some other possibilities besides just
error handling.<br>
<br>
Teal</div>
</div>
</blockquote>
</div>
<div><br>
</div>
-- <br>
<b style="font-family:Times;font-size:medium;font-weight:normal"><span
style="font-size:15px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">indigestion
from sufficiently magical technology is no advance</span></b>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
kc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:kc@pm.org">kc@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/kc">http://mail.pm.org/mailman/listinfo/kc</a></pre>
</blockquote>
<br>
</body>
</html>