Nothing wrong with an occasional goto - as long as you do not have so many that it makes the code hard to understand. A goto can be a good way of dealing with an error (eg: goto end of function: close file, return error). See my comment a few above this one.
Bring back line numbers and goto statements (Score:2)
Re:Bring back line numbers and goto statements (Score:2)
Nothing wrong with an occasional goto - as long as you do not have so many that it makes the code hard to understand. A goto can be a good way of dealing with an error (eg: goto end of function: close file, return error). See my comment a few above this one.