<div dir="ltr"><div dir="ltr">Hi Phil!<div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2019 at 4:12 PM Phil B <<a href="mailto:pbpublist@gmail.com">pbpublist@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hernan,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2019 at 1:59 PM Hernan Wilkinson <<a href="mailto:hernan.wilkinson@10pines.com" target="_blank">hernan.wilkinson@10pines.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#ffffff"><blockquote type="cite"><div dir="ltr"><div><div class="gmail_quote"><div>1) Would you be opposed to a #nonLocalReturn: method on
Exception? That seems to me a cleaner and clearer way of
doing this. It's also more consistent with how Exception
deals with the other scenarios.</div>
</div>
</div>
</div>
</blockquote>
<br>
I think #nonLocalReturn: would be ok. Maybe a better name could be
#methodReturn:<br></div></blockquote><div><br></div><div>I'm against the #nonLocalReturn: or #methodReturn: :-)</div><div>I think they do not solve anything (there is no problem currently) and they add accidental complexity that it is unnecessary.</div></div></div></blockquote><div><br></div><div>I think the solution Juan provided illustrates the problem it would solve. Since you can no longer perform a non-local return from an exception handler, you need to clutter up your code with an ivar and some outer logic... essentially making it a secondary exception handler. How is making the outer logic concern itself with what goes on inside an exception handler simpler?</div></div></div></blockquote><div><br></div><div>Just to clarify a bit my previous email... I wrote the ":-)" at the end of the sentence because I knew the word "against" is too strong... It is so difficult to express feelings on this medium, no, it is not difficult, it is impossible!! :-) </div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>I understand that you don't like #return, #return: etc. but they do exist and are intended to be used. </div></div></div></blockquote><div><br></div><div>hmm it is not that I do not like them as "we have to change them". My comment about them was more "conceptual/design oriented" that a claim to change them... it was just a comment to think about the matter. I use #return and the other without problem. I do not think we have to change that.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div> Not providing a mechanism to perform a non-local return because you don't like the mechanism that already exists for the other use cases seems to add (cognitive) complexity. </div></div></div></blockquote><div><br></div><div>We are desynchronized :-) </div><div>I'm sorry if I was not clear enough, it was not my intention to say that I do not like what already exist.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div> Since your argument seems to stem from the fact that you don't like having to hand off control to ex in [:ex| ex doThisForMe], how about instead making the case for deviating from ANSI and eliminating all those other methods? That at least would be consistent.</div></div></div></blockquote><div><br></div><div>Well, I'm not against "having to hand off control to ex".</div><div>I hope I was more clear this time :-)</div><div><br></div><div>Cheers!</div><div>Hernan</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Cheers!</div><div>Hernan</div><div> </div></div></div></blockquote><div><br></div><div>Thanks,</div><div>Phil </div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal"><span style="font-weight:bold">Hernán Wilkinson</span><br>Agile Software Development, Teaching & Coaching</span></font></span></span></span></strong></span></div><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div><strong style="font-family:tahoma,sans-serif;font-size:xx-small"><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Twitter: @HernanWilkinson</span></font></span></span></strong></div><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></span></strong></span></div><div><font face="tahoma, sans-serif"><span style="border-collapse:collapse">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div></div></div></div></div></div></div></div></div></div></div></div></div>