`restricted` member variables

forkit forkit at gmail.com
Wed Jun 22 23:51:53 UTC 2022


On Wednesday, 22 June 2022 at 23:37:30 UTC, deadalnix wrote:
> On Wednesday, 22 June 2022 at 23:26:11 UTC, forkit wrote:
>> No evidence is required to back this up. Even a monkey brain 
>> should get it.
>
> Ha, you finally convinced me!
>
> Of the fact you are completely unable to come up with a 
> concrete problem solved by this feature.

I think Stroustrup summed it up (in 1987, and with examples) much 
better than I can:

" Data Abstraction Programming with modules leads to the 
centralization of all data of a type under the control of a type 
manager module."

https://www.researchgate.net/profile/Bjarne-Stroustrup/publication/221496180_What_is_Object-Oriented_Programming/links/0f3175393334f4f95b000000/What-is-Object-Oriented-Programming.pdf?origin=publication_detail



More information about the Digitalmars-d mailing list