« Return to Thread: Time to update programming rules?

Re: Time to update programming rules?

by Edwin Fine :: Rate this Message:

Reply to Author | View in Thread

Richard,

Please will you clarify what you mean by

(a) we should not use them because they are inside out

?

Do you mean, we should not use these facilities at all, ever, because the design is badly flawed, or we should not use them in the way the documentation proposes, because it's "inside out", and there's a better way? Or both, or neither? What do you mean by "inside out"?


On Thu, Sep 4, 2008 at 10:37 PM, Richard A. O'Keefe <ok@...> wrote:

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.







_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions



_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions

 « Return to Thread: Time to update programming rules?