Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48132 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92406 invoked from network); 28 Apr 2010 22:44:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2010 22:44:50 -0000 Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.160.170 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:52267] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/86-60458-16AB8DB4 for ; Wed, 28 Apr 2010 18:44:50 -0400 Received: by gyf2 with SMTP id 2so7402293gyf.29 for ; Wed, 28 Apr 2010 15:44:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.111.18 with SMTP id o18mr3421266anm.45.1272494687054; Wed, 28 Apr 2010 15:44:47 -0700 (PDT) Received: by 10.100.8.17 with HTTP; Wed, 28 Apr 2010 15:44:46 -0700 (PDT) In-Reply-To: <1272494436.3021.80.camel@kheops> References: <1272491141.3021.59.camel@kheops> <1272493415.3021.75.camel@kheops> <1272494436.3021.80.camel@kheops> Date: Thu, 29 Apr 2010 00:44:46 +0200 Message-ID: To: sylvain@abstraction.fr Cc: internals@lists.php.net Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] backslash, really ... ? From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) 2010/4/29 Sylvain Rabot : > On Wed, 2010-04-28 at 15:29 -0700, Chad Fulton wrote: >> You can take a look at the RFP if you like. It discusses the pros and co= ns >> of various possible separators, and why they chose the backslash. >> >> http://wiki.php.net/rfc/namespaceseparator > > Thanks. > >> >> I've been using namespaces f= or a >> few months now with the backslash syntax, and I have to say that it does= n't >> effect the aesthetics or readability of my code. Give it some time, I >> suspect you'll get used to it in no time. > > You might not be as stubborned as I can be regarding this matter :P > > Backslash is just something not "natural" to me. Anyway, my obsession, > my problem. Was just hopping to find people as disturbed as me :) > >> >> On Wed, Apr 28, 2010 at 3:23 PM, Sylvain Rabot w= rote: >> >> > 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 wa= s done >> > 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 o= f >> > discussion you are referring to. However, you seem to have this >> > knowledge, so I would be grateful if you could tell me if the aestheti= c >> > 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, usele= ss, 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 = code 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 neve= r >> > > > considered, have you ? Do you like it ? >> > > > >> > > > The goal of backslash was maybe to highlight namespace in the sour= ce >> > > > 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, be= lieve >> > > > me, if I could have, I would have. >> > > > >> > > > This was just the comment of a simple guy which is very concerned = about >> > > > source code esthetic's and believes that a neat, well balanced cod= e is >> > > > more likely to be well maintained that any other one. It's because you're using a french keyboard and you have to hit two keys (Alt-gr + 8) to obtain a backslash. I agree with you it could be boring, that why when I'm coding I'm sometimes using a qwerty keymap :) ++ Jerome >> > > > >> > > > Best regards. >> > > > >> > > > -- >> > > > Sylvain Rabot >> > > >> > > >> > >> > >> > -- >> > Sylvain Rabot >> > > > > -- > Sylvain Rabot >