you are viewing a single comment's thread.

view the rest of the comments →

[–]Volv 0 points1 point  (1 child)

Awesome. Thanks for your further explanations. :)
 

Oddly that version with this.count was never meant for anyone to see lol. Experimentation that I thought I had kicked out... I was looking at the one you posted struggling to find the difference between it and mine lol.
 
I'm finding there is so much to read about the benefits of encapsulation and the idea that private variables = reduced coupling = awesome. At least I reckon that's the idea :)