[erlang-questions] Must and May convention

Richard A. O'Keefe ok@REDACTED
Fri Sep 29 00:16:26 CEST 2017



On 27/09/17 11:46 PM, Loïc Hoguin wrote:

> I've been debating this in my head for a long time. I came to the
> conclusion that 99% of the time I do not want to handle errors.
> Therefore 99% of the functions should not return an error.
>
> What happens for the 1% of the time where I do want to handle an error
> and the function doesn't allow it? Well, I catch the exception.

+1




More information about the erlang-questions mailing list