Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20592 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63381 invoked by uid 1010); 26 Nov 2005 21:39:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63365 invoked from network); 26 Nov 2005 21:39:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 21:39:32 -0000 X-Host-Fingerprint: 68.215.62.134 adsl-215-62-134.mia.bellsouth.net Received: from ([68.215.62.134:4820] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 77/CE-56276-416D8834 for ; Sat, 26 Nov 2005 16:39:32 -0500 To: internals@lists.php.net,Matt Friedman Message-ID: <4388D60F.8010103@gmail.com> Date: Sat, 26 Nov 2005 16:39:27 -0500 User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20.BA.56276.A1BC8834@pb1.pair.com> <4388CE54.6060606@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 68.215.62.134 Subject: Re: [PHP-DEV] Re: namespace separator ideas From: jrhernandez05@gmail.com (Jessie Hernandez) Hi Mat, Matt Friedman wrote: > Hi, I've been following your conversations all day and think I might > have a nice idea for the namespace separator idea. Sorry to barge in > on your conversation but I think the following has value. > > What about something like <- or <:: or even just <: > > It makes sense to me because a namespace is akin to a parent of the > class and in a diagram I would use an arrow to point to the parent > from the child. At least there is some type of parent <- child > relation. > > examples: > Namespace <:: ClassName > or > Namespace <- ClassName > or > Namespace <: ClassName > > Unless I'm missing something these symbols should not conflict with > other ones. They also have more a PHP "feel". > Hmm, "<:" doesn't look bad to me. I'd like to somehow conduct a poll to see what most prefer (it would be great if we could add polls on php.net). So far, I have these possibilites: ::: :> <:: <- <: > This is the most semantically pleasing for me and it mirrors a common > convention and represents the actual relationship. In the language it > is nice when the symbols have an appearance representative of the > actual relationship. > > When I see \ I think of ugly Windoze file paths. Also ::: seems awkward somehow. > > Matt. > Yeah, I feel the same way for "\". ":::" seems OK to me, but of course, I want to put what the majority prefer. Regards, Jessie