Extending D's support for object-oriented design with private(this)
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Apr 25 20:31:33 UTC 2024
On 26/04/2024 12:55 AM, Lance Bachmeier wrote:
> This introduces a more restricted version of private. Overloading
> `private` to give it a second meaning is going to cause confusion for
> new users and really anyone that doesn't use D's OOP all the time. I
> recommend using something like `hidden` or `strongprivate`.
Hidden is used as an attribute, defined as a UDA in ``core.attributes``.
It is related to exportation, so that is already taken.
More information about the dip.ideas
mailing list