Is defining get/set methods for every field overkill?


Sun Nov 20 23:50:55 UTC 2022


On Sunday, 20 November 2022 at 12:23:39 UTC, Ali Çehreli wrote:
>
> Hm. 'private' is about access control. Encapsulation is 
> something else.
>
> Ali

"Clearly, encapsulation is not enough."

https://www.infoworld.com/article/2075271/encapsulation-is-not-information-hiding.html



More information about the Digitalmars-d-learn mailing list