Re: voting on GOTO
- Posted by Greg Haberek <ghaberek at ?m?il.com> Jun 05, 2008
- 814 views
I vote NO. NO. NO. NO. NO. NO. NO. NO. NO. NO. NO. NO. NO. Explicitly NO, and once moreover, NO! GOTO, in any form, breaks the inherently logical "flow" of *all* programming (especially Euphoria, with its top-down methodology). I don't care if it's been implemented and tested, taken around the block, and fed to the dog. To quote my cat Sasha, "DO NOT WANT." One may argue, "but Greg, you don't *have* to use goto, only those who need it will use it!" WRONG! You. Don't. Need. GOTO. Not now, not ever. If you need GOTO, then you're doing it wrong. Go back and re-think the layout of your code. If it actually flows in a logical and coherent manner, then GOTO is irrelevant. I'm a firm believer that GOTO was invented by sloppy programmers, for sloppy programmers. -Greg P.S. See my other anti-GOTO posts here: http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=1&fromYear=1&toMonth=6&toYear=D&postedBy=Greg+Haberek&keywords=GOTO