Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Editorial: Mismatch in specificity between private fields and properties? #14

Open
littledan opened this issue Jul 4, 2017 · 0 comments

Comments

@littledan
Copy link
Member

The spec text about how properties are represented is a bit high-level, with wording like "Let X be O's own property whose key is P." Private state, on the other hand, is an explicit List of Records, where one slot in the record is the private name, and the other is the value (this may change to a property descriptor, to take methods and decorators into account). I don't see a good reason why these should be different. Should one of them be more formal, or the other more informal?

cc @bterlson @allenwb @anba @erights @bakkot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant