3 ms·
Linus Torvalds on Gotos[1]: > I think goto's are fine, and they are often more readable than large amounts of indentation. That's _especially_ true if the code
by shubhamjain 3y ago
Linus Torvalds on Gotos[1]:
> 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).
[1]: https://koblents.com/Ches/Links/Month-Mar-2013/20-Using-Goto-in-Linux-Kernel-Code/ https://koblents.com/Ches/Links/Month-Mar-2013/20-Using-Goto...