The horrific response to the use of "goto" is deprecated in favor of
proper use. A function overloaded with gotos probably should be
reworked. But there there is no need to outright avoid the use of
'goto'. if() is simply a conditional test with a goto A or goto B logic.
There is a reason for the implementation of goto. When it all boils
down to it, in assembler it's all a matter of JMP with or without a
condition.
David
Rob Wilkens wrote:
>On Sun, 2003-01-12 at 14:41, Christoph Hellwig wrote:
>
>
>>On Sun, Jan 12, 2003 at 02:34:54PM -0500, Rob Wilkens wrote:
>>
>>
>>>Linus,
>>>
>>>I'm REALLY opposed to the use of the word "goto" in any code where it's
>>>not needed.
>>>
>>>
>>Who cares?
>>
>>
>>
>
>I do.
>
>-Rob
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+IcjV74cGT/9uvgsRAtPFAKDATzN7dkRyfRk7WXEDGyYe0oGiqACffj+X
iXkDBQntdGnHeJFKjfmp0Lg=
=l9hb
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/