RafaelVidaurre / yakuza

Highly scalable Node.js scraping framework for mobsters
298 stars 29 forks source link

Double underscore for truly private properties #13

Closed RafaelVidaurre closed 9 years ago

RafaelVidaurre commented 9 years ago

Right now all properties and methods not intended to be exposed to the user are marked with a dangling _. Even though some of these properties need to be accessed by other classes withing Yakuza.

New notation should be: foo: Should be touched by the user _foo: Private, should be touched by Yakuza only __foo: Private, should only be touched by the class itself

RafaelVidaurre commented 9 years ago

Closing, fixed in #32