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

Tony Arcieri tony@REDACTED
Mon May 4 19:32:54 CEST 2009


On Sat, May 2, 2009 at 3:50 PM, mats cronqvist <masse@REDACTED> wrote:

>  My theory is that the people who wrote this "programming rule" were
>  (good) C programmers, and thus felt a need to check if the value
>  returned was ok before they dared use it.
>

My theory is originally the Erlang VM didn't have exceptions, so this was
the only way to do it, and for the sake of consistency has remained even
after the advent of exceptions.

-- 
Tony Arcieri
medioh.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090504/5514a84c/attachment.htm>


More information about the erlang-questions mailing list