Re: Renaming namespaces to packages

From: Date: Fri, 10 Aug 2007 20:42:48 +0000
Subject: Re: Renaming namespaces to packages
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-31528@lists.php.net to get a copy of this message
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? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#31528) next »