programming-standards

Access Modifiers ... Why?

Ok so I was just thinking to myself why do programmers stress so much when it comes down to Access Modifiers within OOP. Lets take this code for example / PHP! class StackOverflow { private var $web_address; public function setWebAddress(){/*...*/} } Because web_address is private it cannot be changed by $object->web_address...