Movatterモバイル変換
[0]ホーム
In the Absence of a GoTo Statement: Newbie needs menu-launcher to choose amongst sub-programs
Ron Stephensrdsteph at earthlink.net
Fri Apr 13 23:05:02 EDT 2001
Hmm, thanks! But now I worry myself, if "GoTo" was good enough for DonaldKnuth...then why isn't it good enough for me??? And, is it therefore possible thatthe whole crusade against "goto" is just an irrational fad??/ Are we persecutingourselves for no good reason??? Will future generations of computer users, in theyear 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 whipsin 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-listmailing list
[8]ページ先頭