In the Absence of a GoTo Statement: Newbie needs menu-launcher to choose amongst sub-programs

Ron Stephens rdsteph at earthlink.net
Fri Apr 13 23:33:07 EDT 2001


Hey, do you think we could make a proposal to Guido to adda "goto" statement to the
next version of Python???

Also, are there any modern languages that still use  a "goto"??? Does Visual Basic have
such??

Ron Stephens wrote:

> Hmm, thanks! But now I worry myself, if "GoTo" was good enough for Donald
> Knuth...then why isn't it good enough for me??? And, is it therefore possible that
> the whole crusade against "goto" is just an irrational fad??/ Are we persecuting
> ourselves for no good reason??? Will future generations of computer users, in the
> year 3000 A.D., look back and view our forswearing of the most usefull "goto"
> statement, as equivalent to how we view Islamic folks beating themselves with whips
> in a religious frenzy???
>
> Inquiring (and besotted) minds want to know...
>
> Jose' Sebrosa wrote:
>
> > Ron Stephens wrote:
> > >
> > > What is "MIX"????
> >
> > MIX is a computer (or its assembly language):
> >
> > """
> > MIX is the world's first polyunsatured computer. Like most machines, it has an
> > identifying number -- the 1009.  This number was found by taking 16 actual
> > computers very similar to MIX and on which MIX could easily be simulated, then
> > averaging their numbers with equal weight:
> >
> >  INT ((360 + 650 + 709 + 7070 + U3 + SS80 + 1107 + 1604 + G20 + B220 + S2000 +
> > 920 + 601 + H800 + PDP-4 + II)/16) = 1009
> >
> > The same number may also be obtained in a simpler way by taking Roman numerals.
> > """
> >
> >  -Donald E. Knuth, "The Art of Computer Programming",
> >                    Vol. 1, p.124
> >
> > You can look for "MIXware" here:
> > http://www-cs-faculty.stanford.edu/~knuth/taocp.html
> >
> > or for lots of stuff here:
> > http://www.google.com/search?q=MIX+knuth
> >
> > Anyway, you probably don't need to know unless you worship Knuth. But hei!,
> > what kind of person would not worship Knuth? :-)
> >
> > Sebrosa




More information about the Python-list mailing list