This is a rebuttal post to comments posted Private Methods Considered Harmful
I do not wholeheartedly believe that private methods are evil, or that they were mistakenly included in the PHP language by the core development team. Nor do I believe that there are only two true options when it comes to devising visibility requirements: public and protected. There is a place for private methods, in PHP development and elsewhere.
Tuesday, December 11th, 2012 @ 10:33 am |
Comment (3) |
Categories: Best Practices, Object-Oriented Development
Tags: visibility, PHP, php programming, php best practice, OOP, object oriented programming, software, object oriented development, private, protected, public