Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48130 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89345 invoked from network); 28 Apr 2010 22:29:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2010 22:29:48 -0000 Authentication-Results: pb1.pair.com header.from=chadfulton@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=chadfulton@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.222.173 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chadfulton@gmail.com X-Host-Fingerprint: 209.85.222.173 mail-pz0-f173.google.com Received: from [209.85.222.173] ([209.85.222.173:52180] helo=mail-pz0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/E5-60458-AD6B8DB4 for ; Wed, 28 Apr 2010 18:29:47 -0400 Received: by pzk3 with SMTP id 3so7029704pzk.26 for ; Wed, 28 Apr 2010 15:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=u7HUZVQojm0N+ESMEUWkWrVGKhJt3YqqE6cNtZaRFVg=; b=omhv14luAB8EoPUcqgf8C87MrCYi2dppKUSr0i/dfmaa8o+zHnASegADr+cz28hjdI z1aZf7jYqhWU+e6kww/Q7Gs4XIljKSSW87ltAKmhXCz2YHRpJQl8F2P3bE0dBgWkMver uTTQ+r77fAf271yEguAk6Pcmbf6xmfynL8V90= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=oiHn5VRh3ftTtYTPEdkckHrs32v+1skoF6UVLhbrrAK4ukqqll4j/DT4MEQOgH1p6g G2cGiDPDodZV9qCjGLdKIf2LsFgCwm7H2G9u80g3Wcb0CDNqBshYnuqK6esuKo8OJLrH 3rxO/QC5yNBs61OeRdrzdWoe245cxcW/ht3gU= Received: by 10.142.3.35 with SMTP id 35mr4757823wfc.74.1272493784117; Wed, 28 Apr 2010 15:29:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.222.16 with HTTP; Wed, 28 Apr 2010 15:29:24 -0700 (PDT) In-Reply-To: <1272493415.3021.75.camel@kheops> References: <1272491141.3021.59.camel@kheops> <1272493415.3021.75.camel@kheops> Date: Wed, 28 Apr 2010 15:29:24 -0700 Message-ID: To: sylvain@abstraction.fr Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=00504502c10dfb32b90485538bcb Subject: Re: [PHP-DEV] backslash, really ... ? From: chadfulton@gmail.com (Chad Fulton) --00504502c10dfb32b90485538bcb Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You can take a look at the RFP if you like. It discusses the pros and cons of various possible separators, and why they chose the backslash. http://wiki.php.net/rfc/namespaceseparator I've been using namespaces for = a few months now with the backslash syntax, and I have to say that it doesn't effect the aesthetics or readability of my code. Give it some time, I suspect you'll get used to it in no time. On Wed, Apr 28, 2010 at 3:23 PM, Sylvain Rabot wrot= e: > On Wed, 2010-04-28 at 16:58 -0500, Matt Wilson wrote: > > So, you decided to jump in to criticize a design decision that went in > after several months of discussion, without any insight into why it was d= one > the way it was? > > > > Not really criticizing, maybe a bit, but more expressing my > disappointment regarding aesthetic loss that the choice made has lead > to. It might not concern you but it does concern me and probably other > people too. > > I admit I have no knowledge of what have been told during the months of > discussion you are referring to. However, you seem to have this > knowledge, so I would be grateful if you could tell me if the aesthetic > of the backslash token has been discussed and even more if you can > redirect me to a discussion thread. > > Regards. > > > On Apr 28, 2010, at 4:45 PM, Sylvain Rabot wrote: > > > > > Hi, > > > > > > The comment I'm about to make is behind the times, and, now, useless,= I > > > know, but I can't hold me. > > > > > > You chose for the namespace feature, a great feature besides, the > > > backslash ?? really ?? Come on guys, among all the possibilities, you > > > have chosen, according to me, the most hideous character possible. > > > > > > Having Windows=A9=AE=99 path like strings in the middle of source cod= e is not > > > something that is going to make me use the feature. > > > > > > PHP syntax was simple, clean. To me, the backslash token ruins > > > everything. Using it aside from escaping was something I have never > > > considered, have you ? Do you like it ? > > > > > > The goal of backslash was maybe to highlight namespace in the source > > > code, if it was, congrats, we only see that now. > > > To my opinion it breaks all esthetic's balance of a source code. > > > > > > No need to respond that I should have contribute to the choice, belie= ve > > > me, if I could have, I would have. > > > > > > This was just the comment of a simple guy which is very concerned abo= ut > > > source code esthetic's and believes that a neat, well balanced code i= s > > > more likely to be well maintained that any other one. > > > > > > Best regards. > > > > > > -- > > > Sylvain Rabot > > > > > > > -- > Sylvain Rabot > --00504502c10dfb32b90485538bcb--