16
votes
9answers
1k views

Isn't class scope purely for organization?

Isn't scope just a way to organize classes, preventing outside code from accessing certain things you don't want accessed? More specifically, is there any functional gain to having public, protected, ...