Why is D unpopular

Mike Parker aldacron at gmail.com
Mon Jun 13 04:39:23 UTC 2022


On Monday, 13 June 2022 at 04:09:12 UTC, 12345swordy wrote:
> On Monday, 13 June 2022 at 03:46:52 UTC, Mike Parker wrote:
>
>> How does this feature bring any benefit that can't be had by 
>> putting `Foo` in a separate module?
> The issue here is that you can only have one module per file. 
> Allow multiple modules per files and the motivation behind 
> "private for this class" will be satisfied.
>

Right now, you can split your module into two files and present 
them to the world as a single module with package.d. What does 
your suggestion buy us that this doesn't aside from a single 
module name trait?


More information about the Digitalmars-d mailing list