News for hackers. Stuff that matters.
Re:Linux Coding Style Guide: GOTOs not always considered har... by atilimcetin on Tuesday August 23, 2011 @02:34PM (#2917780)
Linus about the use of goto's (and Pascal):

I think goto's are fine, and they are often more readable than large amounts of indentation. That's _especially_ true if the code flow isn't actually naturally indented (in this case it is, so I don't think using goto is in any way _clearer_ than not, but in general goto's can be quite good for readability).

Of course, in stupid languages like Pascal, where labels cannot be descriptive, goto's can be bad. But that's not the fault of the goto, that's the braindamage of the language designer.

http://kerneltrap.org/node/553/2131

There are no comments on this comment yet.