Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64292 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38311 invoked from network); 16 Dec 2012 10:50:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2012 10:50:06 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:48383] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/14-27715-D57ADC05 for ; Sun, 16 Dec 2012 05:50:06 -0500 Received: by mail-lb0-f170.google.com with SMTP id j14so4000235lbo.29 for ; Sun, 16 Dec 2012 02:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nxYNhgOLll5dCyxs9BRAzl/SiLEBAiwiEJ4Xj0HbDiQ=; b=XG8z7/vSwVojhdbmSxuSYt2SGpkfaAuRtkDTbBdrSzxYNJiLLLGrUMYmMZNLpZbhiG zlr54Ft023g0imzFlHyxwJdaTdczAuQfhEaIOg0Tp0XAxiPvgo7KUJYWpjctbyke/JjL Xi5onQ9Lbdfx4cIr3d9LYIv9DJmoCmzsosSgvyFrnqws1wWSqdD8JxYLy0/tU/s34jf9 TWfAa6EcV+V2LclNATllLlq1EJb4qbiBZK5Aq3nkHuEOGj9O1k59lUyPlq0wn8buOXL+ zSeWq+FrogezgeDnB+UpYjkWMOJ4/UGc5hqjGDszZnqHmn53LvVUuP6FpTosAnSnbmjF /dXw== MIME-Version: 1.0 Received: by 10.112.44.164 with SMTP id f4mr4395668lbm.111.1355655001434; Sun, 16 Dec 2012 02:50:01 -0800 (PST) Received: by 10.152.125.70 with HTTP; Sun, 16 Dec 2012 02:50:01 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Dec 2012 02:50:01 -0800 Message-ID: To: Lars Strojny Cc: PHP internals Content-Type: multipart/alternative; boundary=f46d0401229fcc6c3904d0f60641 Subject: Re: [PHP-DEV] Core liason for PHP FIG From: kris.craig@gmail.com (Kris Craig) --f46d0401229fcc6c3904d0f60641 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Sun, Dec 16, 2012 at 1:02 AM, Lars Strojny wrote: > Hello everybody, > > for all of you who don=92t know, PHP FIG (Framework Interoperability Grou= p, http://www.php-fig.org/) discusses ways frameworks and libraries can work together and integrate much easier. Current PSRs are PSR-0 to standardize autoloading, PSR-1 and PSR-2 that deal with coding styles. All three are great initiatives so far in bridging gaps between projects and making the PHP ecosystem, well, rounder. > > PHP core currently doesn=92t have a vote in that group and I think this i= s something we should change. Is anybody interested in taking part of the discussions there and representing PHP core? > > cu, > Lars > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > My one concern with this idea is that it could give the erroneous impression that the coding style standards your group advocates are endorsed, implicitly or otherwise, by the PHP Group. There is no "official" standard when it comes to spaces vs. tabs and whether to place brackets on the same line, for example. Given how many different competing standards there are out there, I fear that we could run the risk of showing favoritism by "legitimizing" one standards group but not others. Personally, and I'm just speaking for myself here, I think you guys over-reached with your PSR-2 style guidelines. I totally agree with your goal of aiding consistency, but these standards are inherently arbitrary and it makes me very uneasy to see anyone proclaim that such-and-such is the "correct" style of doing something in PHP. The only solution I can see is to create several different style rulesets to reflect all the noteworthy styles in popular use. Of course, then you run the risk of undermining the whole consistency goal. I think XKCD put it best: http://xkcd.com/927/ I wouldn't be adverse to us linking to your project, so long as we do the same for any others that crop-up and we make it clear that these third-party standards are not officially endorsed by the PHP Group. I also think it's cool if anyone here wants to join your project and contribute, so long as that person is representing him/her self. That's my take on this. --Kris --f46d0401229fcc6c3904d0f60641--