Fixing module-scope private
Dicebot
m.strashun at gmail.com
Sun Jan 27 06:48:50 PST 2013
On Sunday, 27 January 2013 at 14:43:26 UTC, deadalnix wrote:
> On Sunday, 27 January 2013 at 14:27:21 UTC, Andrei Alexandrescu
> wrote:
>> I agree that mod1.func should not even be visible from mod2.
>>
>
> Not even via reflection ?
Debatable, so far I am planning to propose full hiding. No direct
reflection, no DDOC via import, no trace of symbol in object
file. Like it was possible in C/C++. Detailed investigation may
reveal valid use cases though, than design may need to become
more complex.
More information about the Digitalmars-d
mailing list