PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Response: Private Methods Considered Harmful

Note: This article was originally published at Planet PHP on 12 December 2012.
Planet PHP
Brandon Savage has recently posted two blog posts portraying his opinion that using private visibility on class methods can be considered harmful in a lot of situations. While I understand the point he is trying to make, I can't say that I agree with it. I do like private visibility and think that it's actually under-used in a lot of software. But it's not because I think Brandon is wrong...
Read more A