Code That Says Exactly What It Means
Peter C
peterc at gmail.com
Tue Oct 28 21:49:00 UTC 2025
On Tuesday, 28 October 2025 at 08:01:40 UTC, Walter Bright wrote:
>
> ...
> Sure, it does mean a change in layout from other languages. But
> the capability is there.
>
>
I need to push back just one more time.
That capability is not there. That is my whole point and reason
for this thread.
You cannot say this in D code: "this particular part of my class
is mine alone, not even my friendly module neighbors can touch
it."
People can debate as to whether I should have the right (or need)
to say that "this part of my class is mine alone, not even my
friendly module neighbors can touch it.", but they cannot argue
that I can already do this.
D's position is very clear though. That is, "You simply cannot
say this in D - and that's they way we want it to remain."
More information about the Digitalmars-d
mailing list