Re: voting on GOTO
- Posted by Fernando Bauer <fmbauer at ?otmail.co?> Jun 05, 2008
- 823 views
Greg Haberek wrote: > > > 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). Sorry, I disagree. > 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. Sorry, I disagree. > 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. Sorry, I disagree. > > -Greg As I already said, IMHO, in some situations, GOTO can be the best tool regarding speed, elegance, simplicity and maintenance. I agree with Jeremy about this subject. - Fernando