[Home] [By Thread] [By Date] [Recent Entries]

  • To: paul@p... (Paul Prescod)
  • Subject: Re: The Browser Wars are Dead! Long Live the Browser Wa
  • From: John Cowan <jcowan@r...>
  • Date: Wed, 23 Oct 2002 22:30:14 -0400 (EDT)
  • Cc: xml-dev@l...
  • In-reply-to: <3DB74D3F.4070208@p...> from "Paul Prescod" at Oct 23, 2002 06:30:39 PM

Paul Prescod scripsit:

> > Python is essentially Scheme with indentation instead of parentheses.
> 
> I'm trying to decide whether that was tongue-in-cheek.

Only slightly.  Official Python has reified generators, which are only
a hair away from continuations; Stackless Python, a variant, has
full Scheme continuations.  ("Stackless" is something of a misnomer,
but it does allow arbitrary resumption of arbitrary frames.)

To my mind, the non-LIFO control structure puts Python and Scheme
(and Prolog) in a class by themselves.

-- 
John Cowan  jcowan@r...  www.reutershealth.com  www.ccil.org/~cowan
Assent may be registered by a signature, a handshake, or a click of a computer
mouse transmitted across the invisible ether of the Internet. Formality
is not a requisite; any sign, symbol or action, or even willful inaction,
as long as it is unequivocally referable to the promise, may create a contract.
       --_Specht v. Netscape_

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member