|
|
|
|
|
by alexchamberlain
5019 days ago
|
|
I don't agree `goto` is all bad. Whilst the OP said there are exceptions, they didn't list them. An ideal use (in C) is to ensure that in an error state, resources are cleaned up properly by jumping to error handling code (within the same function). |
|