Extending D's support for object-oriented design with private(this)

NotYouAgain NotYouAgain at gmail.com
Sun Apr 28 23:43:35 UTC 2024


On Sunday, 28 April 2024 at 20:49:37 UTC, Dukc wrote:
> ..
> ...

and as you can see, this confusion over D mis-use of the concept 
of oop private, has been around for a very long time ... long 
before I discovered D.

"One thing that is confusing in D is that private members of a 
type are accessible by the module that includes that type." (2012)

https://forum.dlang.org/post/ka1i21$29ac$1@digitalmars.com




More information about the dip.ideas mailing list