[erlang-questions] What do you like the most about Erlang/OTP?

Robert Virding <>
Wed Aug 29 23:42:35 CEST 2012

----- Original Message -----
> From: "John-Paul Bader" <>
> To: "erlang-questions" <>
>      orrdict:fetch(foo, []) throws and error.

This was done on purpose, there is a 'find' which returns whether it was there and a 'fetch' which assumes that it is there.

>      There are plenty of examples where similar operations in
>      different
>      modules either throw or just return undefined but never in a
>      predictable way
>      My favorite: calling split on a one element list throws an error

But you are right here.


More information about the erlang-questions mailing list