|
|
|
|
|
by dllthomas
5020 days ago
|
|
GOTO can be quite reasonable when dealing with a language that lacks exceptions. The Linux kernel CodingStyle document says: "The goto statement comes in handy when a function exits from multiple locations and some common work such as cleanup has to be done." http://www.kernel.org/doc/Documentation/CodingStyle |
|