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

Lance Bachmeier no at spam.net
Tue Apr 30 02:00:19 UTC 2024


On Tuesday, 30 April 2024 at 00:01:00 UTC, NotYouAgain wrote:

> Yes, I know the opposition to this idea. I do not need to here 
> from them again. I'd rather here from those who support change, 
> not those who are totally against it (as their views are 
> already known).

That would be pointless. There's discussion so that the downsides 
can be raised and addressed.

I don't see any reason to keep this going further. Write a DIP 
and see what happens.

If you restate your opinions about how OOP should be done and how 
people here don't understand OOP, it'll be a waste of your time. 
Everybody knows those arguments. Whether you want to accept it or 
not, many people have found that things work well as they are, so 
you're not likely to convince anyone in power by going down that 
road. If you make the case that this does not lead to a demand 
for friends, which I see as a strong argument, then maybe it'll 
have a chance. I think it's a reasonable addition to the 
language, but I'm not the one that makes those decisions (and 
that's a good thing, because I can't claim to know much about 
designing a big language like D).


More information about the dip.ideas mailing list