2 ms·
return is ok -- continue and break are also problematic, but at least are isolated in the same context (e.g. function). goto is ok only for local error cleanup
by coldtea 9y ago
return is ok -- continue and break are also problematic, but at least are isolated in the same context (e.g. function).
goto is ok only for local error cleanup (or auto-generated code, e.g. for parsers etc).