[erlang-questions] Any wisdom to offer on "tagged return values"

Robert Virding <>
Tue May 5 11:58:38 CEST 2009

Ah, well as you can understand I think that the advice is still good. But
not everywhere of course, in many cases generating an error the the right
thing to do.


2009/5/5 mats cronqvist <>

> Robert Virding <> writes:
> > Erlang has always had exceptions! The problem is much more complex
> > than this.  Always signaling an error would make coding extremely
> > difficult, almost as bad as always forcing you to check return values.
>   Well, I don't agree. But that's neither here nor there. The original
>  question was re the official programming advice from OTP (which
>  states; "Use tagged return values."), and whether that advice is
>  (still) good.
>  mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090505/dbdd27fe/attachment.htm>

More information about the erlang-questions mailing list