Results 574 comments of Mark S. Miller

I fully agree that weakmaps are the *uniquely* right model of private state. Nothing else meets the necessary conditions.

> > Nothing else meets the necessary conditions. > > I can guess the conditions that you have in mind, but would you mind formalizing them so that I don't...

No. All use the shadow target technique.

I do. In the long thread at https://github.com/tc39/proposal-class-fields/issues/183#issuecomment-451717965 I finally noticed that all of the private symbol proposals still suffer from fatal confused deputy attacks. I don't think this direction...

I'm not sure I understand your question. Is https://github.com/erights/PLNSOWNSF a constructor-based approach? Note that I just now wrote this repository in a hurry and it is still rough ;)

@bathos-wistia Done. Thanks!

If you want to classify it as a criticism of the proposal, that's fine with me. Either way, it remains a severe problem.

I'm ok with removing the comment. The reason I liked it is as an indirect reminder that it does not mean: ```js luke.jump(); luke.setHeight(20); ``` but it's probably better just...

Any progress on this?

See https://github.com/tc39/proposal-realms/issues/238#issuecomment-766300440