At 10:46 AM 10/24/2004 +0800, Yin Ming writeth:
>
>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
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=862622614


Yahoo! Groups Links

Reply via email to