Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64300 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57823 invoked from network); 16 Dec 2012 14:31:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2012 14:31:08 -0000 Authentication-Results: pb1.pair.com header.from=peter.e.lind@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=peter.e.lind@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: peter.e.lind@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:64693] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/07-27715-B2BDDC05 for ; Sun, 16 Dec 2012 09:31:07 -0500 Received: by mail-ie0-f170.google.com with SMTP id k10so8535893iea.29 for ; Sun, 16 Dec 2012 06:31:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=pDd/cAXDGG/78zQharZ7sCLMQtltA1ua6GmYIQ8SC9E=; b=c2/Pl7LnIs/eqM2Q8z07wChudEum/7XdMuIzS+sDGN0GBCmZnOMZOVpN3JPA6GYvlM DR6eB0vGnsJCNU3vr5S3SSZELbOZlGYNYUZ12z3Af/XWuhQQ1THz9WSZfr6M172hHB/x OSgHPMptwvADd6EIxPuTM0DxGvYgNQMftlfVtT4O1D4eCGVerG04hp4PBzaGfKnOE+PZ 3A27v3XgoyxpX25xQDEO53QHowkhnzd62xZILudP90z5DtPV6lgcx2++/k/Cyk5VwdMG PN4ragLYv8f8rTD1P5PAilpX5Sr172ikXeFJWEjoco3jGf0GJSbYZLi1wl3epsyTC7b3 VFJA== Received: by 10.50.108.145 with SMTP id hk17mr6678159igb.51.1355668265514; Sun, 16 Dec 2012 06:31:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.92.147 with HTTP; Sun, 16 Dec 2012 06:30:45 -0800 (PST) In-Reply-To: <50CDDA20.8090400@lsces.co.uk> References: <50CDDA20.8090400@lsces.co.uk> Date: Sun, 16 Dec 2012 15:30:45 +0100 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Core liason for PHP FIG From: peter.e.lind@gmail.com (Peter Lind) You realize that this is not the list of PHP FIG, right? On 16 December 2012 15:26, Lester Caine wrote: > Lars Strojny wrote: >> >> for all of you who don=E2=80=99t know, PHP FIG (Framework Interoperabili= ty >> Group,http://www.php-fig.org/) discusses ways frameworks and libraries c= an >> work together and integrate much easier. Current PSRs are PSR-0 to >> standardize autoloading, PSR-1 and PSR-2 that deal with coding styles. A= ll >> three are great initiatives so far in bridging gaps between projects and >> making the PHP ecosystem, well, rounder. > > > Well I'm already classed as a dinosaur, but I have been requesting a guid= e > to writing code these days, however some of the MUST elements of PSR-2 ar= e > totally opposite to the style guide that I have worked with for years and= I > see no point in arbitrary having to restyle 10+ years of code. Trying to > restyle for e_strict is bad enough. > > As an example ... > "Code MUST use 4 spaces for indenting, not tabs." > WHY - tab's has been the standard for all my C/C++ code and every other > language and is automatically tidied up to that format by my editor. When > did a switch of this 'rule' come in? Or is there a plan to switch all of = the > core code base to follow the same rule? ;) > > At the end of the day PHP FIG is simply an example of one style of workin= g. > It is perhaps the style that many developments in core are following as > well? But it not the only way of working? Personally I prefer to avoid > 'magic loading of files' and stick with specifying what files are load an= d > from where. Avoids problems with different distributions changing the rul= es > themselves! I see no hope of promoting a 'flat platform' staring point, > since each distribution loves to promote it's own style of working, and > running PHP on top of THEIR version of the world makes some standards > academic? Where ARE files loaded tends to be the first problem when > debugging a new distribution :( > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=3Dcontact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 WWW: plphp.dk / plind.dk CV: careers.stackoverflow.com/peterlind LinkedIn: plind Twitter: kafe15