> We absolutely see the need to support PSR-0 and PSR-1, and the benefits it will bring in terms of interoperability. And we are willing to deal with the flame wars that will follow (and have already started in our IRC channel), especially concerning the snake_case vs CamelCase debate.
>
> As to PSR-2, as it stands at the moment there are no plans to implement that. As it is proposed atm it is a style guide, and style is always a personal thing. Whatever style you adopt should and in fact does not impact interoperability, so it's not in the way of the philosophy of this group with regards to that. It might be a (small) hurdle towards project contributions (having to adopt different styles for different projects), but in the end that is the projects decision, which does have no impact whatsover on anything outside the project.
I'm not so sure where the border for interoperability is actually set out.
If it's black box type of thing, then surely I don't care what's in
the box as long as I'm able to lift it up (PSR-0) and don't encounter
problems when plugging in into and out of the box (PSR-1).
However, in the light of white boxes, as a user I'm interested about
the inner workings, too, and I can clearly see them and I believe the
quality of the box to gain a greater value if its interior is laid out
well, and in a style that's consistent with what you think the box is
like from its outer appearance.
> We believe that a style guide should ensure the code is written in a consistent, clear and easy to read manner. In our opinion adopting PSR-1 already makes the code less readable (snake_case is easier for the eyes than CamelCase, especially if the method names are longer), and some elements in PSR-2 (like the not-aligned bracket positioning, which is why we prefer Allman ove K&R) make the code more compact, and therefore less readable.
Maybe your and the opinion of other members of this group changes
through the process, as do the opinions of those contributing to the
project.
> Now I understand that quite a few of the members have a history in projects that code using standards that are quite close to what PSR-2 is proposing, and as it is clearly their preference, it is quite logical that the proposal turned out the way it did, and most members agree to it.
>
> Some however feel that within the group there should be a clear distinction between standards that are geared towards interoperability, and standards that are not. And I second that. This appoach will make it easier for a project to adopt the interoperability standards without getting into the "personal preference" debate. And I think this is a common goal we should all work towards.
A goal I see would be that people choose or choose not to use a
framework or a project because of it's coding style or standards, but
because of the quality of the code *apart* from these aspects, because
everyone's using the same standards.
Best regards,
Andreas