On Sat, Jul 5, 2014 at 6:35 PM, Andre Tampubolon via
Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
I've been reading the newsgroup for a while, and it seems that one of the
reason folks like D is because it supports module.
My question is: what does module mean?
A quick google
I've been reading the newsgroup for a while, and it seems that one of
the reason folks like D is because it supports module.
My question is: what does module mean?
A quick google pointed my this page: http://dlang.org/module.html.
Still cannot understand it, though :)
How does it differ from
No, import is different from include. It does not stupidly copy
and paste its content but tells the compiler to take the module
into account for name resolution. The result may seem similar,
but is much more efficient.
A D module is also a unit of encapsulation (a private declaration
in a module
On Saturday, 5 July 2014 at 17:08:01 UTC, Olivier Pisano wrote:
No, import is different from include. It does not stupidly copy
and paste its content but tells the compiler to take the module
into account for name resolution. The result may seem similar,
but is much more efficient.
In fact,
On Saturday, 5 July 2014 at 16:35:31 UTC, Andre Tampubolon wrote:
I've been reading the newsgroup for a while, and it seems that
one of the reason folks like D is because it supports module.
My question is: what does module mean?
A quick google pointed my this page: