On Tuesday, 28 October 2025 at 21:49:00 UTC, Peter C wrote:
>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."
Over the years this has come up many times. Can you provide an example showing the value of doing that? I understand that maybe that's your preference for whatever valid reason, but I've never seen anyone give an example where it's actually a constraint.
If you want to push on this, that's where you should start. Because every previous such proposal I've seen has died, as the people requesting it keep arguing from authority that it's the correct way to do things, rather than demonstrating the benefit of a major change to the language.
Permalink
Reply