Function or Macro...

Håkan Stenholm hakan.stenholm@REDACTED
Fri Nov 7 18:24:26 CET 2003


On onsdag, nov 5, 2003, at 17:09 Europe/Stockholm, Luca Manai (AL/EAB) 
wrote:

> Hello,
>
> I was asking me if there are advantages in using a macro (when possible
> and
> when it is not disorienting for the reader) instead of a function.

I don't think so, have never heard or read anything that implied that 
this would be the case.

>
> Is there behind erlang a mechanism of parameter allocation on the
> stack when a function is called (like in C)?
> Or may be the matter is much more complex...
> Thanks.
>
> Luca.
> -
> PS: I hope the question does make sense... I wasn't sure about that.
>




More information about the erlang-questions mailing list