Extending D's support for object-oriented design with private(this)
monkyyy
crazymonkyyy at gmail.com
Fri Apr 26 02:27:49 UTC 2024
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.
More information about the dip.ideas
mailing list