Re: Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2)/ext/date php_date.c php_date.h)
| From: | Derick Rethans | Date: | Wed, 19 Jul 2006 07:14:34 +0000 |
| Subject: | Re: Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2)/ext/date php_date.c php_date.h) | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24645@lists.php.net to get a copy of this message | ||
On Wed, 19 Jul 2006, Lukas Smith wrote:
> Rasmus Lerdorf wrote:
>
> > I can see Andrei's argument for the iterator stuff where you do actually
> > have to type it often, but his identifiers are already unlikely to clash and
> > we could probably make an exception there.
>
> Well then we need to document this!
>
> In my proposal I also noted:
> Iterators and Exceptions are however simply postfixed with "Iterator" and
> "Exception". Examples:
>
> * ArrayIterator
> * LogicException
>
> However I fear that the PHP community is instead adopting this as their
> userland naming standard to follow internals unless we quickly move and tell
> them not to.
Exactly my point as well. (And yes, adding Exceptions already broke some
stuff in earlier versions of my code so this point is quite real)
regards,
Derick