« Movie Ying xiong | Main | ext3 slowdown »

June 02, 2003

PHP and Namespaces

It seems as if the namespace issue has come to a head now. Marcus Boerger has posted some commentary on a recent commit that seems to remove their support by Stas.

While I can't say I've kept up on the debate (it's been brewing for a long time), mainly because to me it seems rather silly not to support namespaces, the reasonings highlighted by Marcus for removal seem rather weak.

The : character is not something I would expect to work in a namespace... ever. While you could argue for a naming sequence that utilizes such a format, I could also argue for a naming sequence which doesn't. The point being it's synactic sugar and need not be a point of contention as it's not a technical issue, but rather an individual style issue. Style conformance is not an objective PHP is setting out to solve (unless it's for CVS commits), so I would suggest leaving the style issues to individual PHP users and ensure that all functionality works. Easier said than done I know.

I'm still a bit lost on the whole problem with import though. I'll have to do a bit of back-reading and research before I say to much. So far though, it sounds like it was designed for functionality in one means, but is now needing to be used in other means.

Posted by Dan at June 2, 2003 09:28 AM

Comments

typo police: 'say to much' -> 'say too much'
also, I'm alive.

Jan :)
--

Posted by: jan at June 2, 2003 11:00 AM