<div class="gmail_quote">On Sat, May 2, 2009 at 3:50 PM, mats cronqvist <span dir="ltr"><<a href="mailto:masse@kreditor.se">masse@kreditor.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My theory is that the people who wrote this "programming rule" were<br>
(good) C programmers, and thus felt a need to check if the value<br>
returned was ok before they dared use it.<br></blockquote></div><br>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.<br clear="all">
<br>-- <br>Tony Arcieri<br><a href="http://medioh.com">medioh.com</a><br>