Re: Good Use of GOTO
- Posted by Jim Brown <jbrown105 at l?nuxbuddhi?t.net> Jun 05, 2008
- 838 views
Bernie Ryan wrote: > > Jim: > > Why can't any of these GOTO's be replaced by calls to functions ? > Because they are making the main function return? How would you have a function return, not to its caller, but its caller's caller? Also, the need to pass arguments to helper functions via the stack is lightly slower. In most cases one probably doesn't care about that. > > Bernie >