[eeps] EEP 049: Value-Based Error Handling Mechanisms

Raimo Niskanen raimo+eeps@REDACTED
Fri Dec 7 14:58:36 CET 2018


On Fri, Dec 07, 2018 at 02:08:44PM +0100, Anthony Ramine wrote:
> Are you encouraging the use of non-local returns to work around a limitation of the language?
> 
> Literally all new programming languages made these days have such a short-circuiting construct some way or another that doesn't translate to non-local returns. I don't see what makes Erlang so special that you would argue it doesn't need one.

This has been debated before.  Here is a post from Joe Armstrong in the
middle of a long thread about this:

    http://erlang.org/pipermail/erlang-questions/2014-December/082167.html

> 
> > Le 7 déc. 2018 à 12:28, Kenneth Lundin <kenneth@REDACTED> a écrit :
> > 
> > It is perfectly possible to use throw and try catch to replace or simplify deeply-nested case ... end expressions in the same way as the proposed language extension does
> > 
> >  <>

> _______________________________________________
> eeps mailing list
> eeps@REDACTED
> http://erlang.org/mailman/listinfo/eeps


-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the eeps mailing list