News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney's Blog:
Why PHP Namespaces Matter
February 04, 2011 @ 13:23:22

Matthew Weier O'Phinney has a new post today talking about why namespaces in PHP matter and why he thinks they're a valuable contribution to the language.

You've heard about PHP namespaces by now. Most likely, you've heard about -- and likely participated in -- the bikeshedding surrounding the selection of the namespace separator. Regardless of your thoughts on the namespace separator, or how namespaces may or may not work in other languages, I submit to you several reasons for why I think namespaces in PHP are a positive addition to the language.

He breaks down his reasons into four different categories - the code organization benefits that come with namespace "containers", simplified interface structure, improved readability (no more huge class names) and a simpler method for identifying dependencies

0 comments voice your opinion now!
namespace opinion organization interface readability dependencies


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Managing Class Dependencies: Dependency Injection, Service Locators & Factories, Pt 2

PHPClasses.org: Talented Web Developers Are Easy to Hire, Employers Are Just Not Looking Right

Reddit.com: My new boss is convinced Symfony2 is not suitable for big projects...

Community News: Kohana Community Responds to PSR-1 & PSR-2

Phpro.org: Introduction to PHP and MySQL


Community Events





Don't see your event here?
Let us know!


laravel code testing list podcast series threedevsandamaybe interview release application developer introduction wordpress install community configure library api unittest language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework