Re: [RFC] Documentation/CodingStyle: Add rules for goto labels

From: WANG Cong
Date: Tue Jun 05 2007 - 03:43:57 EST


On Mon, Jun 04, 2007 at 07:31:27PM -0700, H. Peter Anvin wrote:
>Jeff Garzik wrote:
>>>
>>> So, it seems that we can reach an agreement. Any other comments or suggestions?
>>> Or can someone ack/merge this patch?
>>
>> Honestly, I think not reaching an agreement is a good thing.
>>
>> "style" is always ultimately in the eye of the beholder, and reasoned
>> people come up with multiple answers to the same question.
>>
>> Sometimes it's better _not_ to set things in stone. "use your
>> judgement" and "follow the existing style" go a long way.
>>
>
>Indeed. Quite frankly, style guides would be a lot less obnoxious if
>there weren't always people who felt the need to "correct" other
>people's styles. That is usually a rather obnoxious thing to do, at
>least as long as the code is reasonably clean to start out with.
>

I find things about coding style can easily lead to flamewars anywhere.

Maybe this patch is considered harmful as goto statements once were. ;-p

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/