Re: Renaming namespaces to packages

From: Date: Fri, 10 Aug 2007 21:40:00 +0000
Subject: Re: Renaming namespaces to packages
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-31529@lists.php.net to get a copy of this message
After all that has been said and done since this post: http://marc.info/?l=php-dev&m=118355320225178&w=2 Is it safe to say that this functionality laid out is still representative of what is involved in the "namespace" patch? Or, is there a wiki / proposal page somewhere that would better exemplify what is attempting to be accomplished? -ralph Stanislav Malyshev wrote:
Except for a little thing, those are not namespaces, but something more similar to packages.
What is "namespaces"? Here's wikipedia: A namespace is a context in which a group of one or more identifiers might exist. An identifier defined in a namespace is associated with that namespace. The same identifier can be independently defined in multiple namespaces, that is, the meaning associated with an identifier defined in one namespace is independent of the same identifier declared in any other namespace. Languages that support namespaces specify the rules that determine which namespace an occurrence of an identifier (ie, not its definition) belongs to. http://en.wikipedia.org/wiki/Namespace_%28computer_science%29 So why those are not namespaces?


« previous php.internals (#31529) next »