Re: Goto?
- Posted by Matt Lewis <matthewwalkerlewis at g??il.com> May 12, 2008
- 676 views
Jeremy Cowgar wrote: > > Bernie Ryan wrote: > > What no one understands about implementing goto is how > > complicated it is to implement in an interpreter. > > Maybe if someone would demonstrate how easy it is to implement; > > then they could post the code and that could be discussed on EUforum. > > The front end code is pretty easy actually, at first glance. Now, what may be > difficult is what I mentioned in the post in regards to the for loop. Jumping > out of a for loop is going to leave things pretty dirty, but I am certain that > can be solved with a bit of thought. But, I do not wish to spend any time > developing > code that will be rejected, so I think the discussion must come first. What's dirty about it? It's no different than exit. Jumping *into* a for loop is bad juju. Matt