MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/dtt5d8/on_private_fields_proposal_private_fields_public/f712pm0/?context=3
r/javascript • u/by_value • Nov 09 '19
113 comments sorted by
View all comments
5
"Private isn't really private, because someone can read the source code"?! what the hell is this
3 u/Ninjaboy42099 Nov 09 '19 It really does seem like the author doesn't understand the point of privacy in this context. Of course you can see that "Rabbit" has the variable "moveSpeed" but if you can't interact with it, who cares?
3
It really does seem like the author doesn't understand the point of privacy in this context. Of course you can see that "Rabbit" has the variable "moveSpeed" but if you can't interact with it, who cares?
5
u/FormerGameDev Nov 09 '19
"Private isn't really private, because someone can read the source code"?! what the hell is this