Re: [RFC] PHP Namespace Policy
| From: | Mike Schinkel | Date: | Mon, 27 Apr 2020 21:40:17 +0000 |
| Subject: | Re: [RFC] PHP Namespace Policy | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109862@lists.php.net to get a copy of this message | ||
> On Apr 27, 2020, at 4:25 AM, Rowan Tommins <rowan.collins@gmail.com> wrote:
>
> To me, the answer to that is quite simple: we have several hundred
> functions, and several dozen classes and interfaces, which are not in such
> a namespace; and we have millions of lines of code out in the world using
> them. So ... we need a consistent policy on what goes in
> and what stays out.
How about a simply policy: Newer things go in, older ones stay out?
Check the docs to see which is which if you are unsure, or just let your IDE auto-complete for you.
-Mike