Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38021 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18736 invoked from network); 31 May 2008 12:43:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2008 12:43:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=letssurf@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=letssurf@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.246 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: letssurf@gmail.com X-Host-Fingerprint: 209.85.132.246 an-out-0708.google.com Received: from [209.85.132.246] ([209.85.132.246:40374] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/76-02182-6D741484 for ; Sat, 31 May 2008 08:43:02 -0400 Received: by an-out-0708.google.com with SMTP id c14so125017anc.1 for ; Sat, 31 May 2008 05:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=F6kCAtpniGtltP35ndhcWcgOrNd1m2PDdJo9xUuctM0=; b=d54390B+jy2w4BgusaXa2Uko8UkXJ+UPmiI+vnmgAMzTKGpFM/MKSA5q684/R5Xfw7AopWuyXuc0QuA1f25W9yK2e2vInQNCtrKQYdf3hPXo6tUPnqrY8RBk/qiEQNb89RNx0PFtSRMeqjF095Jgjy7G2d+Kn3EuY+z0KxDUy9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Z9CyIi+b+j8Xsr9NFYba9bR4r6ojdHvbUAJH53PU/KNsiFcSzVNWV9eFD2xkDAHgAZrHAUbVx7+POMAd0ywVjrnBjUlJ6Gyh49WcSWtNlQUHJ0AcJo2e9VrQtmAU4UVo+ueiKUc2QzEF776lhrHG96XJKvnUZsdIERRqIfL9sac= Received: by 10.100.208.6 with SMTP id f6mr796600ang.68.1212237780069; Sat, 31 May 2008 05:43:00 -0700 (PDT) Received: by 10.100.126.9 with HTTP; Sat, 31 May 2008 05:43:00 -0700 (PDT) Message-ID: <462e563f0805310543u3c5a87fbkaae6ab0b0653d67b@mail.gmail.com> Date: Sat, 31 May 2008 13:43:00 +0100 To: "Stan Vassilev | FM" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9109_26663279.1212237780045" References: Subject: Re: [PHP-DEV] Alternative to multiple namespaces per file From: letssurf@gmail.com ("James Dempster") ------=_Part_9109_26663279.1212237780045 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline what I find really annoying about all this namespace stuff, is how would that be any different from class Fully_Qualified_Class_Name_Declaration { } /James On Sat, May 31, 2008 at 1:10 PM, Stan Vassilev | FM wrote: > > Hi, > > I suppose this has been discussed before, so I'll not repeat reasons unless > requested, but I just want to offer a possible feature to mitigate the > impact of "one namespace per file", which doesn't have controversial syntax > and hopefully less difficulties in the implementation: > > class Fully::Qualified::Class::Name::Declaration { .... } > > same as: > > namespace Fully::Qualified::Class::Name; > > class Declaration { .... } > > ... except of course this allows classes of different namespaces to be > declared in one file. Most namespace-enabled languages consider the above > declarations equivalent. Share your opinions. > > Regards, > Stan Vassilev ------=_Part_9109_26663279.1212237780045--