Re: [PHP-DEV] namespace separator ideas

2005-11-26 Thread Jason Garber
Hello, I as a userland library author, would appreciate namespaces quite a bit. Here is an idea: namespace1..class() $x = new MyApp..MemberOrder(); -- Best regards, Jasonmailto:[EMAIL PROTECTED] Saturday, November 26, 2005, 3:52:35 PM, you wrote: GB>

RE: [PHP-DEV] namespace separator ideas

2005-11-26 Thread Jared Williams
> Hi all, > > I have only one caveat with the \ separator, which is that it > is a little bit too similar to division with /, and can > result in some confusing code like: > > namespace name1 { > class name2{} > } > define('name1', 1); > define('name2', 2); > > $a = new name1\name2; > $

[PHP-DEV] namespace separator ideas

2005-11-26 Thread Greg Beaver
Hi all, I have only one caveat with the \ separator, which is that it is a little bit too similar to division with /, and can result in some confusing code like: The same issue exists with all colon based separators (that sounds bad when read the wrong way...) because of the ternary operator, a