Re: Re: PHP 5.1 (Or How to break tousands of apps out there)

From: Date: Mon, 28 Nov 2005 23:31:06 +0000
Subject: Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-20795@lists.php.net to get a copy of this message
Have a fresh look :) name1:::name2:::class::func(); name1::name2::class::func(); name1\name2\class::func(); I think there are way too many dots with ':::'. Looking at this example I must say '\' looks cleanest. And it's the most intuitive since namespaces are sort of like directories anyway. It's also the only notation where you can identify up front which are classes and which are namespaces just by looking at the syntax. And it seems it's the only symbol that doesn't have technical problems. Jessie Hernandez wrote:
Hello Marcus, "\" doesn't come along with confusion? Please, it's non-intuitive and looks like an escaped identifier or a Windows path. I think there are only two people who want "\", you and someone else that I can't remember now. ":::" works and it's understandable, the only bad thing is it's bordering on the too-long limit, like Ilia said, but otherwise it's fine. Regards, Jessie


« previous php.internals (#20795) next »