On Sun, Dec 16, 2012 at 1:02 AM, Lars Strojny <l...@strojny.net> wrote: > Hello everybody, > > 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. > > PHP core currently doesn’t have a vote in that group and I think this is 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