3 ms·
What do you mean by “encapsulation” / “hard private”?
- rektide 3y agoPrivate fields were such a sad step for JS. Everything should be a first-class entity. Making invisible silent features of JS feels like such a sad outside ask. I want to carve some space for code securely dealing with other code, but I don't feel like within the VM is the place. Use real isolation boundaries for secure concerns. Denying the ability for the runtime to be observable & clear to itself is a huge limiter against problems we never had, is mis-security. This was a huge mistake & made the world worse.