PHP Backspaces

So, PHP gets namespaces, and a namespace separator, and a lot of complaints with it. Is \ (rfc) a good choice as a namespace separator? I can’t say, but it sure is not what I expected for a namespace separator.

The problem is that symbols used elsewhere for namespace separator already play a role in PHP. But would > or | or # cause problems? \ reminds more of a file system than a namespace system, I feel it does not gel with OOP. Speaking of which, I wonder if it would have been better if PHP had not gone the OOP way. It is specialized for the Web, and maybe it should have followed a different paradigm which was Web specific as well. Does web programming really need namespaces and namespace separator?

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.



Abhijit Nadgouda
iface Consulting
+91 9819820312
My bookmarks


This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.