Re: New Datetime class problem
| From: | Lukas Kahwe Smith | Date: | Sun, 05 Nov 2006 11:43:39 +0000 |
| Subject: | Re: New Datetime class problem | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26339@lists.php.net to get a copy of this message | ||
Ron Korving wrote:
- First of all, people use their classes a lot more than PHP core classes, and so prefixing application classes is a big burden compared to prefixing PHP core classes.Its quite trivial .. all people need to do is stick a single underscore into their class name [1]. Thats all. They only need to really prefix with anything a bit longer if they want to avoid name clashes with other third party code.
- Second, with the active record design pattern becoming more popular, database table-names are starting to dictate class names.Err, where is the problem applying a default prefix in that scenario? And sure if there is a sensible implementation for namespaces I am sure we will get the feature. I have not yet heared any core people say that they are against the feature in general. regards, Lukas [1] http://www.php.net/manual/en/userlandnaming.php