I feel the discussion around PSR-2 is hurting us.
I'm glad somebody has finally noticed. Until now it seemed like no one had realized there was a questioning of the validity of a recommendation regarding interoperability, which claims that one method of indentation "MUST" be used over another.
I believe that the vocal minority that is causing this
I consider myself a member of that vocal minority, but not because I prefer tabs over spaces (I've given my reasons here -
https://github.com/php-fig/fig-standards/pull/35#issuecomment-14138174), but because allowing this to ever happen at all makes the FIG seem either bogus or biased. I know it was put to a vote, but in my opinion, this topic should have never been on the agenda from the start. There are, as various people have claimed, more important issues to be dealing with.
they actually believe that tabs are so radically important
Not really, I just personally don't want a recommendation dictating I choose one or the other. It makes zero difference to interoperability, the objective of this group, and I have not heard any arguments to the contrary.
I just feel like people are risking the PSR process for close to no benefit
Not at all, admitting to this mistake and correcting it would be a sign of the FIG's maturity, as well as respect for those in the community who see no reason in losing their preference for tabs, and in the process, blocking their ability to fully adopt a recommendation.
we do not yet have a by-law to update PSR's
I think I'll pass on commenting here, as I'm not sure if this is true or not. I surely hope it isn't, especially if you really want people to take you seriously as a group proposing recommendations that impact the PHP community. The process of creating the proposals is as important as the final recommendations themselves.
I have seen no indication that the previous majority for spaces has changed their mind
I think the discussion persists because few have seen the "real" problem: there never should have been a preference for either, only the requirement of consistency, i.e., ONLY use spaces OR tabs, but NOT both. That is the rectification I would suggest be made.
"PSR-2 with tabs" is so horrible that it warrants this huge debate
I agree that it would be an equally biased rectification, with the only objective of switching camps, and would only cater to allowing others to propose further rectifications due to personal preference. As I stated before, I would suggest that the preference be removed all together.
there are two decently acceptable directions and one is chosen in order to make the PSR less vague and more explicit.
this discussion is damaging the process itself.
I don't agree with this either, the way I see it this discussion is bringing to light that the FIG made a mistake recommending PSR-2, which has put the community into a ridiculous debate of spaces vs tabs. The "damage" comes from this group's continued reluctance to rectify the issue, instead just digging in and claiming "hey, it's just a recommendation, ignore it". Glad to know that some of you stand so wholeheartedly by your proposals that you openly suggest people ignore them.
I'm a part of the minority fomenting this debate, not because I wish to die in the name of tabs, but instead to illustrate that this group should make a rectification, to demonstrate it's interest in the "greater good" of the community. I stand by the FIG's other proposals/objectives, and support the cause. As I've said elsewhere, I highly respect everything the group is doing, and I commend the effort and resolve to make the PSR proposals a reality. I just find it extremely hard to turn a blind eye to this issue in particular.
As stated many times before by others, this is a recommendation, and can be ignored. But it would be a testament to the group's ability to write a decent proposal if all could accept it without any unnecessary barrier to entry, especially if it falls upon personal preference. I would also call out that some are using the PSRs as a claim to standards compliance, and using this PSR specifically to one-up on other projects which prefer to not update their entire repo to replace tabs for spaces. This is not healthy for the community at large. And it's certainly not healthy for the FIG if people are advertising that they don't support a PSR because of it's nature.
In summary, my point would be that PSR-2 should never have happened at all. It has no validity in a group of recommendations aimed at interoperability. But, what's done is done, so the only option I could suggest is to rectify the situation by amending this PSR (use ONLY spaces OR tabs for indentation, but NOT both). I think that retracting the PSR all together, or creating another PSR to mirror problematic points in the current one, would be bad directions to take.
Lukas, my apologies for picking on your post.
Thanks
On Wednesday, February 27, 2013 9:39:29 AM UTC+1, Lukas Kahwe Smith wrote:
Hello,
I feel the discussion around PSR-2 is hurting us. It is hurting us because of all the negativity and sheer traffic this is creating. I believe that the vocal minority that is causing this (note not everybody that is preferring tabs over spaces is taking part in this) has decided its more important to get tabs into a PSR than it is to allow this group to main productive. I hope they are doing this because they actually believe that tabs are so radically important that they would rather see the PSR process grind to a halt than allow this wrong to continue. Or they are more concerned with getting their preferences "standardized" or "recommended" just because. We will never know and obviously this is not a homogenous group and there are also people in that mix that just want to hand a compromise in the hopes that things can then calm down again. I tried to swallow all of this down, but could not get myself to not add this paragraph to this email. I guess this shows that I was well cannot just move on and not risk poisoning more. I just feel like people are risking the PSR process for close to no benefit (even if you are convinced that tabs are better than spaces).
Now I see a couple ways to continue:
1) do nothing
2) create a new PSR that copies PSR-2 and makes tabs optional allowed as well (see PR #91) and deprecates PSR-2
3) create a new PSR that copies PSR-2 and makes tabs optional allowed as well (see PR #91) that merely references PSR-2
4) create a new PSR that copies PSR-2 and mandates tabs over spaces (see PR #91) and deprecates PSR-2
Note that I am saying "create a new PSR that copies PSR-2" here while we do not yet have a by-law to update PSR's. I am largely in agreement with PR #93 on this topic which says that updates that change a PSR require a new PSR. But depending on if we f.e. go with updating a PSR by using a minor version (ie. 2.1) the above would need to be adjusted. I have seen no indication that the previous majority for spaces has changed their mind. Then again there have been several new members voted in since then. But even then by the proposed by-law in #93 there would be no way to drop a previous PSR aside from deprecating it, so "dropping spaces" in this context would be 4).
While discussing this I would urge the pro tab proponents to think hard if having to say "PSR-2 with tabs" is so horrible that it warrants this huge debate which in the end risks that any PSR we discussed at infinity where there are two decently acceptable directions and one is chosen in order to make the PSR less vague and more explicit. Essentially I am asking if the willingness to compromise that seems to be expected of those that are fine with PSR-2 as is, couldn't also be applied to yourself and swallow this one down if you agree that this discussion is damaging the process itself.
Otherwise I do ask you, the tabs must be included in a PSR camp, with proposing a new PSR with the changes you want. However please do this using the proper channels following the process of the PSR by-laws. Then once there is a vote I then also hope that you accept whatever results come out of this. The same applies to the camp that would prefer the PSR-2 to just remain as is.