In Further Defense Of Avoiding Private Methods

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.

(more…)

Tuesday, December 11th, 2012 @ 10:33 am | Comment (3) | Categories: Best Practices, Object-Oriented Development
Tags: , , , , , , , , , ,


Copyright © 2023 by Brandon Savage. All rights reserved.