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

Gheorghe Gabriel knoppy273 at live.com
Fri May 18 16:24:24 UTC 2018


On Friday, 18 May 2018 at 15:57:06 UTC, bachmeier wrote:
> On Friday, 18 May 2018 at 15:40:52 UTC, KingJo
>
> class A {
>    private int x;
>    private(this) int y;
> }
>

I agree that this looks a bit strange.
My initial proposal was "sealed" instead "private(this)" today.


More information about the Digitalmars-d mailing list