Re: [RFC] PHP Namespace Policy
| From: | Mark Randall | Date: | Sun, 26 Apr 2020 19:55:17 +0000 |
| Subject: | Re: [RFC] PHP Namespace Policy | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109856@lists.php.net to get a copy of this message | ||
On 15/04/2020 12:21, Mark Randall wrote:
https://wiki.php.net/rfc/php_namespace_policyAs it has come up a few times, I wanted to provide examples of where programming languages mount their own standard libraries inside a main namespace: Java (java.*) https://en.wikipedia.org/wiki/Java_Platform,_Standard_Edition .NET (System.*) https://docs.microsoft.com/en-us/dotnet/api/system?view=dotnet-plat-ext-3.1 C++ (std::*) https://en.cppreference.com/w/cpp/header I would be interested in hearing arguments why such a strategy adopted with great success by many of the most popular and well-developed languages, is inappropriate for PHP. Mark Randall