Preparing for the New DIP Process
mate
aiueo at aiueo.aiueo
Tue Jan 30 00:06:26 UTC 2024
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.
More information about the Digitalmars-d-announce
mailing list