Inner Modules?

forkit forkit at gmail.com
Sat Feb 12 22:33:25 UTC 2022


On Saturday, 12 February 2022 at 22:03:08 UTC, bachmeier wrote:
> ..
> My impression, which may be wrong, is that nobody's ever made a 
> strong case
> that this issue is a sufficient problem to warrant yet another 
> addition
> to an already large and growing language.

Oh. I'm not trying to make that case ;-)

Let's put 'the case' aside for now ;-)

I'm just exploring at 'a conceptual level', how to retain private 
visibility within a module without having to split it into 
'separate files'.

Conceptually, nothing changes really.

You end up creating mulitple modules either way (whether in 
separate files, or within inner modules).

None of the language rules would change, with regards to modules, 
as I see it, (conceptually).



More information about the Digitalmars-d mailing list