[erlang-questions] Any wisdom to offer on "tagged return values"
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions