Have you ever found something in the second-to-last place you looked?
If it seems like I am ignoring you, perhaps I am.
world:~ mike$ rm -f /earth/united_states/washington/redmond/M$ █
GOTO is seen as bad as it generally lead to Spaghetti code.
On small programs it may seem fine, but once it gets bigger have to track where all the code jump are and go to can lead to code that is very difficult to manage.
Ideally you should be breaking you code down in to manageable chunks/functional and calling them where needed, and of course for/while loops where appropriate.
I've been programming for about 10 years now and I've yet to encounter a problem where I'd use GOTO. That said Donald Knuth is a man I respect and he states that GOTO can be more efficient in some circumstances.
Jeez, it's getting all geeky in here...Just laugh and forget all the technical crap
Bookmarks