Function or Macro...

Luca Manai (AL/EAB) <>
Wed Nov 5 17:09:28 CET 2003


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.

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