Hey,

I don't think question is only in regards to Date.
I think it's a bigger question on what the standard is for internal classes.
We are just at the beginning of this stage in PHP's evolution, and I think
we need to agree on a standard that Date and other following classes will
all adhere to. If we don't do that, we will have the same naming consistency
problems that have plagued us with functions over the years.

One precedent has been Spl. It was agreed upon that all classes in SPL would
be prefixd by Spl. Marcus
Although we already have quite a few classes in PHP I think we are still at
an early point and we should make the right decision now. I'd prefer that
from now on going forward we prefix all new classes with Php. In PHP 6, once
we implement namespaces for classes (yep, on my todo) then we can put those
classes in a Php namespace. This does leave some existing inconsistencies
with SOAP/XML but honestly, we're catching it MUCH earlier than we did with
functions, so we'd be in pretty good shape.

My $.02 and hopefully we can have a more focused discusion now, which isn't
geared against Derick, but forward looking and considering all the other
classes that will be coming down the pipeline and doing the right thing.
Andi

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to