Re: Re: PHP 5.1 (Or How to break tousands of apps outthere)
| From: | Derick Rethans | Date: | Fri, 25 Nov 2005 12:09:34 +0000 |
| Subject: | Re: Re: PHP 5.1 (Or How to break tousands of apps outthere) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20385@lists.php.net to get a copy of this message | ||
On Fri, 25 Nov 2005, Christian Schneider wrote:
> Just to illustrate some question which could be raised to weaken your point
> that Date is the one and only name for that class:
> Why does it include time as well, shouldn't it be Datetime (a la SQL)? Is it
> going to be the only class in ext/date (no, there is already timezone)? =>
> Shouldn't it be Date_Timezone and Date_Date/Date_Datetime then?
No, why should it? We reserve the right to use whatever name we want in
the core (although prefixing internal classes with Pear would be sneaky ;-) )
> > No no, the core reserves the right to name whatever they want, it's the
> > userland code that is responsible for prefixing their classes.
>
> Is that why function names were prefixed? Or __get?
No, that's for logic's sense.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org