My C++ professor stated that it is taboo if you use the GOTO statement in code. Tell me /prog/, is GOTO as bad as he says? What's your opinion on it?
Name:
Anonymous2007-01-29 10:28
Handling errors in functions in C where you need to clean up or deallocate stuff in the case of an error is butt-ugly and more confusing without using goto. Other than that, they're typically bad style and make code more confusing.