Usability of "allMembers and derivedMembers traits now only return visible symbols"
Johannes Pfau via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 4 00:39:40 PDT 2016
Am Sun, 04 Sep 2016 03:29:59 +0000
schrieb Martin Nowak <code at dawg.eu>:
> On Sunday, 4 September 2016 at 03:21:05 UTC, Stefan Koch wrote:
> > While I do understand, that there could be a potential
> > performance when private members could be changed around
> > because they are not visible form outside.
> >
> > I fail to see how we would take advantage of that without
> > breaking our object-model.
>
> It's mostly about linkage of private methods.
Allowing access to private fields / functions also means that
those members are part of the public API/ABI of a library. So changing
private members can break dependent libraries...
More information about the Digitalmars-d
mailing list