[erlang-questions] Naming the function

Avinash Dhumane avinash@REDACTED
Thu May 17 17:30:14 CEST 2012


I am new to Erlang world, and after arriving here I realised that I was in  
imperative world of programming.

So, a basic question: how should the name of my function sound?

Should the name sound as if I am declaring a "value" or an "action"? If  
latter (i.e. action) then would it not be imperative?

I tend to see "programming a system" as declaring the causal and  
structural relations among the values (i.e. forms) in the system; so, I am  
beginning to have trouble with naming functions imperatively, yet at the  
same time Erlang-library functions are named imperatively.

So, I really need help now.

Thanks
Avinash



More information about the erlang-questions mailing list