Preparing for the New DIP Process

Mike Parker aldacron at gmail.com
Tue Jan 30 02:59:48 UTC 2024


On Tuesday, 30 January 2024 at 00:06:26 UTC, mate wrote:
> On Monday, 29 January 2024 at 12:34:05 UTC, Atila Neves wrote:
>> I like private as it is now. Especially because if anyone 
>> wants it to be "class-private", they can do that anyway: write 
>> a class per module like one has to in Java.
>>
>> My 2 centimes (cos I live in Switzerland) is that if you're 
>> worried about too much code having access to your private 
>> functions, your module is probably too large.
>
> To get peace from the forum troll, it might be worth it to add 
> a compiler switch `-privateToTheClass` which errors out when it 
> finds more than one class per file.

Let's shut this down please. Thanks.


More information about the Digitalmars-d-announce mailing list