Re: DateTime improvement
| From: | Peter Cowburn | Date: | Fri, 21 Dec 2012 00:13:30 +0000 |
| Subject: | Re: DateTime improvement | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64395@lists.php.net to get a copy of this message | ||
On 20 December 2012 20:06, Lazare Inepologlou <linepogl@gmail.com> wrote:
>> Of course, I have no idea if anyone in userspace is using
> DateTimeImmutable...
>
> Well, it seems unlikely, unless he is Yoda or French.
>
> I mean, in English, it is common to put the adjective in front of the noun,
> isn't it?
Class names aren't particularly subject, too strictly, to English
grammar rules. Besides, the coding standards [1] dictate the class
name should be prefixed with the 'parent set' (e.g. extension name),
which in this case is not "Immutable".
[1] https://github.com/php/php-src/blob/master/CODING_STANDARDS#L152
>
> Lazare INEPOLOGLOU
> Ingénieur Logiciel
>
>