>
>AFAIK, one is jumping out of complex loops.
Or, more commonly, multiple entry points into complex logic that has
interdependencies of elements of the function itself. The purpose in this
scenario is to reduce maintenance headaches more than anything - and
calling another function wouldn't work as a good chunk of the function's
code would have to be duplicated. As I said, I use it, but it averages out
to about once every 10,000 lines of code.
There is an artform to making good goto's. Always document the usage and
why it exists. If the reason for it existing ever goes away, then it can
probably cease to exist as well.
Thomas J. Hruska
[EMAIL PROTECTED]
Shining Light Productions
Home of the Nuclear Vision scripting language and ProtoNova web server.
http://www.slproweb.com/
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
