[erlang-questions] Time to update programming rules?

WildChild <>
Thu Sep 4 23:01:30 CEST 2008


http://www.erlang.se/doc/programming_rules.shtml

7.7 Module names

Erlang has a flat module structure (i.e. there are not modules within
modules). Often, however, we might like to simulate the effect of a
hierarchical module structure. This can be done with sets of related
modules having the same module prefix.

If, for example, an ISDN handler is implemented using five different
and related modules. These module should be given names such as:
isdn_init
isdn_partb
isdn_...

We have packages! http://www.erlang.se/publications/packages.html



More information about the erlang-questions mailing list