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

NotYouAgain NotYouAgain at gmail.com
Fri Apr 26 05:32:15 UTC 2024


On Friday, 26 April 2024 at 02:27:49 UTC, monkyyy wrote:
> On Friday, 26 April 2024 at 00:36:37 UTC, NotYouAgain wrote:
>>
>> If it is the latter, I don't believe that derision is in the 
>> spirit of the guidelines for this forum group.
>
> I aint one for rules, but if your hall monitoring I would think 
> accusing others of bad faith is worth twisting the knife. If I 
> was being "derisive" I would be commenting on how oo should be 
> removed from the language entirely; at minimum.
>
> oo-philes may not understand `alias this` statements, fine, but 
> to break down `private alias this this`, `alias this` must use 
> old fashioned alias statements so essentially its saying 
> `private alias this=this`; given alias this is where the 
> special case handling of a struct lives, and my understanding 
> is `private` prepending statements is how to break otherwise 
> perfectly good code for "safety" so I completely stand by my 
> suggestion.

sorry. I still don't understand what your input to this 
discussion is (appart from that you don't like oop).

Are you're saying you weren't being derisive, but you genuinely 
prefer 'private alias this this;' to 'private(this)'?



More information about the dip.ideas mailing list