Re: goto: it's conceded

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu