News for hackers. Stuff that matters.
Re:Goto Is Not a Horror by harry8 on Thursday March 21, 2024 @10:32PM (#39786900)
init_nfs_fs() use of multiple gotos starting to look trivial in comparison to that, huh?[1]

[1] or trivially replacing with so many nested if statements.

Re:Goto Is Not a Horror by o11c on Thursday March 21, 2024 @11:46PM (#39787284)
`init_nfs_fs` doesn't "throw" from any of its destructors though - most destructors don't even want to throw. Note that all the functions called between the `out` labels don't have (or at least don't do anything with) a returned error value.