[erlang-questions] Time to update programming rules?

Richard A. O'Keefe ok@REDACTED
Fri Sep 5 04:37:23 CEST 2008


On 5 Sep 2008, at 9:01 am, WildChild wrote:

> 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). We have packages! http://www.erlang.se/publications/packages.html

Yes, but
(a) we should not use them because they are inside out, and
(b) packages are NOT "modules within modules".
Poplog, Ada, and SML have modules within modules.
Modules within modules are much more like Java nested classes
than they are like Java packages.










More information about the erlang-questions mailing list