[antlr-interest] Re: Gotos in Java (was: build issues: bytecode assembly generation)

micheal_jor open.zone at virgin.net
Sat Oct 23 01:27:48 PDT 2004



--- In antlr-interest at yahoogroups.com, "John D. Mitchell"
<johnm-antlr at n...> wrote:
> >>>>> "micheal" == micheal jor <open.zone at v...> writes:
> [...]
> 
> >> It seems curious that Java has a goto in its runtime but no way to
> >> express that in the language.
> 
> > I seem to remember it has something to do with Java's secure
mobile code
> > aspirations.
> 
> Well, hmm... I guess you could argue that for things like no bare
pointers
> and non-local gotos.
> 
> The reason that regular/local gotos aren't in the Java *language* are
> because they are seen as evil (from a "software engineering"
perspective).

You are right of course. Security is enforced at the byteode level and
not [just] the language level.

Micheal






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list