News for hackers. Stuff that matters.
Re:An introduction to the JavaScript Module Pattern by chrisbroadfoot on Saturday April 14, 2012 @08:55AM (#3840745)
I find it's enough to suffix (or prefix) a method or property with an underscore.

If calling code uses it knowingly, then they should know it's bound to break in future. The overhead (cognitive, and possibly execution) of not exposing the property isn't worth it, I think.

There are no comments on this comment yet.