You realize that this is not the list of PHP FIG, right? On 16 December 2012 15:26, Lester Caine <les...@lsces.co.uk> wrote: > Lars Strojny wrote: >> >> for all of you who don’t know, PHP FIG (Framework Interoperability >> Group,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. > > > Well I'm already classed as a dinosaur, but I have been requesting a guide > to writing code these days, however some of the MUST elements of PSR-2 are > 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 working. > 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 and > from where. Avoids problems with different distributions changing the rules > 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=contact > 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 >
-- <hype> WWW: plphp.dk / plind.dk CV: careers.stackoverflow.com/peterlind LinkedIn: plind Twitter: kafe15 </hype> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php