[Cuis-dev] Exception handler blocks with non-local returns
Hernan Wilkinson
hernan.wilkinson at 10pines.com
Tue Oct 15 11:52:09 PDT 2019
>
>
>> On the other hand, I just try this issue in other languages. In Ruby,
>> another language with non local returns, it works as it currently does in
>> Smalltalk. In Java, there is no non local return, but you can put a return
>> in an exc. handler and behaves correctly returning from the method that
>> contains the exc. handler.
>>
>
> Keep in mind that most other languages blow up and die when you raise an
> exception ;-)
>
yeah, you are right
> And there are also languages that treat exceptions as an explicit transfer
> of control where things like non-local returns would not be allowed, if
> they even exist in the language. Of course there's also the age-old
> debate of why do exceptions exist and when should they be used or not used.
>
no no no! please! do not get into that debate! :-)
> But the issue isn't what do other languages do, it is more what do we want
> Cuis to do?
>
yeah, of course, I just put that info to compare
> Is it important that Cuis be/stay compatible with other Smalltalk
> implementations on this front? This has obvious short term impact to
> anyone's exception handling code both in terms of porting and writing.
> But it also has longer term implications for anyone making changes that
> assume/depend on having control of execution as it relates to enhancing the
> debugger, exceptions themselves or some other related feature/capability.
>
--
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20191015/89bafacb/attachment-0001.htm>
More information about the Cuis-dev
mailing list