<br><br><div class="gmail_quote">On Tue, May 24, 2011 at 1:56 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Very strange topic for me.<br>
<br>
I'd like to know if there will be hierarchial modules in Erlang,<br>
because tree of packages is a rather good idea:<br></blockquote><div><br>No it's not - this has been the subject of long and heated discussion and is<br>why packages are NOT in Erlang - many people - myself included - dislike<br>
the idea of hierarchical namespaces. The *dot* in the name has no semantics<br>it's just a separator. The name could equally well be encoders.mpg.erlyvideo<br>or mpg.applications.erlvideo.encoder - there is no logical way to organise the<br>
package name and it does not scale - <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
erlyvideo.mpegts.encoder<br>
erlyvideo.rtp.encoder<br>
<br>
But plain module namespace is also ok. It would be impossible for me<br>
to work with 30K LOC with plain function namespace.<br>
<div><div></div><div class="h5"></div></div></blockquote><div><br>The English language has a flat namespace.<br><br>I'd like a drink.alcoholic.beer with my food.unhealthy.hamburger and my food.unhealthy.national.french.fries<br>
<br>I have no problem with flat beer and chips.<br><br>/Joe<br><br><br><br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>
<div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>