In the Names section of JavaScript code conventions, mister Crockford advocates not using the underscore _ to indicate a private attribute. After making his case, he subtly adds:
Avoid conventions that demonstrate a lack of competence.
— Douglas Crockford in Code Conventions for the JavaScript Programming Language
I like it.
Reading his JavaScript site is worth every minute. Provided you’re interested 🙂
Advertisements