I’m not loving the state of private fields in the @tc39 class fields proposal. Adding new syntax and complex semantics for something for private fields doesn’t seem worth the value.
Responses
-
💬 Anthony Ciccarello I like that private fields are not easy to reach. For use cases where they are needed there are workarounds but I don’t think it need to be easy. I’d prefer private symbols as an alternative solution.
See how to respond...
Respond via email
If you'd prefer to message me directly, send an email. If you'd also like your message to be visible on the site I can add it as a comment.
Reply via Email
Respond from another site
Responses are collected from posts on other sites. Have you posted somewhere that links to this page? If so, share the link!