Erlang (programming language)/Tutorials/behaviours

From Citizendium
< Erlang (programming language)‎ | Tutorials
Revision as of 12:27, 22 July 2009 by imported>Eric Evers (New page: Behaviours (beware the extra 'u' in behaviour for american programmers) A process is a little bit like an instance of a class in java. Bahaviours in erlang are very similar to interfaces...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Behaviours (beware the extra 'u' in behaviour for american programmers)

A process is a little bit like an instance of a class in java. Bahaviours in erlang are very similar to interfaces in java. A set of call back functions is required and used. This works well with erlang because there are no actual member variables in erlang processes. Processes can pass variables to themselves recursively, but they are not officialy member variables.