Re: goto: it's conceded
- Posted by Matt Lewis <matthewwalkerlewis at gma??.com> May 28, 2008
- 694 views
ken mortenson wrote: > > Well, that's terse. Let me add a few more. Back in the day, I thought I > could never live without ON X GOTO, as well as ON X GOSUB. I have matured > quite a bit since then. The idea of using any of these four today is > physically loathesome to me. Not to offend, but for a HLL to include these > would make it a toy language not suitable for serious development. YMMV. Indeed MMV, though it goes by a different name, using routine_id and call_proc/call_func. See execute.e in the euphoria source directory for an example of how this can be reasonably used. Also, I'd point out that ON X GOTO is really similar (just a little less controlled) to a switch/select/case. Matt