[erlang-questions] Variable naming conventions

Max Lapshin max.lapshin@REDACTED
Sun Apr 4 20:38:40 CEST 2010


On Sun, Apr 4, 2010 at 10:36 PM, Joe Armstrong <erlang@REDACTED> wrote:
>
> My rule is - short functions with accurate names. If the function
> is more than about 15 lines refactor it. Use short variable
> names. If this is not abundantly clear add a comment and
> a type signature and a test case.
>

Erlang makes you to write short functions, it is the only way to
determine where exactly error was raised =)


More information about the erlang-questions mailing list