HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Coding Standards Revisited | Hacker News Reader
Coding Standards Revisited
paul.oremland.net
3 points
·
poremland
·
·
1 comment
Open article
Save
View on HN
voidr
·
In languages like JavaScript, where you don't have the private keyword, prefixing with _ is the only good way to show the user of your class that you don't want that variable to be modified outside your class.
Reply on news.ycombinator.com