Sealed classes - would you want them in D? (v2)

Neia Neutuladh neia at ikeran.org
Sat May 19 17:15:45 UTC 2018


On Saturday, 19 May 2018 at 09:49:39 UTC, KingJoffrey wrote:
> On Saturday, 19 May 2018 at 09:37:56 UTC, Uknown wrote:
>>
>> The point was encapsulation as you defined it was broken. 
>> private members were directly modified outside their class. In 
>> your words, everyone was a friend.
>
> This is why we have coding standards ;-)
>
> https://www.nccgroup.trust/globalassets/our-research/us/whitepapers/2017/april/accessing-private-fields-outside-of-classes-in-java.pdf

Coding standards are good enough for Java but not for D?


More information about the Digitalmars-d mailing list