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

monkyyy crazymonkyyy at gmail.com
Thu Apr 25 17:14:23 UTC 2024


On Thursday, 25 April 2024 at 16:40:30 UTC, Quirin Schroll wrote:
> On Thursday, 25 April 2024 at 05:37:24 UTC, NotYouAgain wrote:
>> […]
>
> I don’t know why, but I find `private(this)` looks weird. It 
> makes me think I can put other things in the parentheses – 
> which is not the case. How about `super private`? `super` is 
> already a keyword. Yes, it’s a little bit tongue-in-cheek, but 
> I honestly like it more than `private(this)`.

shouldnt it be `private alias this this;`


More information about the dip.ideas mailing list