::: is best. :> and <: look like my favorite smilies. No way I could ever use them in code ;)

- David


Am 26.11.2005 um 22:39 schrieb 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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to