Re: New Datetime class problem
| From: | Marcus Boerger | Date: | Sun, 05 Nov 2006 04:39:13 +0000 |
| Subject: | Re: New Datetime class problem | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26332@lists.php.net to get a copy of this message | ||
Hello Christian,
Sunday, November 5, 2006, 5:21:24 AM, you wrote:
> Ilia Alshanetsky wrote:
>> On 4-Nov-06, at 11:18 AM, Christian Schneider wrote:
>>> Ilia Alshanetsky wrote:
>> The language should ALWAYS have the best names possible to simplify
>> development, because that means convenience for majority of users. No
> While that's certainly true (and part of me is even thinking it is the
> right approach) it means that each and everyone writing PHP code (which
> means a big number of people with all different levels of experience)
> has to care about naming. So it makes the language a little less simple
> to use. That's all I'm saying.
We had problems with Date, DateTime and Time as all of those are common.
Should we name a class that represents data and time info name after say
'PhpDateTimeFart' so that there is no problem? Because if you think further
it might be commone to put Php into class names that deal with php... that
said wouldn't it be easier for the masses of people, that start using PHP,
to not having to read the manual each time a date time class is being used?
just my small thought on this
Best regards,
Marcus