Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]

From: Date: Thu, 16 Aug 2007 23:51:15 +0000
Subject: Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-31662@lists.php.net to get a copy of this message
On 16 Aug, 2007, at 1737, Stanislav Malyshev wrote:
PHP users: "Wait.. WTF? These don't act like namespaces - where are the braces?"
That's like saying "BMW Z4 is not a car - it has only two seats!"
That doesn't change the fact that that was the very reaction of this list.
PHP users: "These act more like... Java packages. Why are they called namespaces?"
Java packages are namespace implementation, btw.
Indeed, I am not arguing that. Recognizing that their implementation was different than the C++ feature, the Java folks chose a different name. Because they knew that if they put out a feature with the same name as a C++ feature, people would assume it works the same way as the C++ feature. I would prefer that PHP's namespace feature not be overshadowed by confusion caused by it's keyword. scott.

« previous php.internals (#31662) next »