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


Danny Ayers scripsit:
> 
> sayeth the functional programmer :
> >Python is essentially Scheme with indentation instead of parentheses.
> 
> sayeth the OO programmer :
> Python is essentially Java with indentation instead of braces.
> 
> sayeth the procedural programmer :
> >Python is essentially Pascal with indentation instead of (errm) newlines.

Yes, these are true too.  But Python 2.x has continuations (somewhat hidden,
but they're there, aka a non-LIFO control regime.  No other language in
non-research use has that except Scheme.

Java, as befits a C-heritage language, doesn't even have closures
(well, inner classes are closures, I guess), much less continuations.
Pascal has closures but not continuations.

-- 
John Cowan                                <jcowan@r...>     
http://www.reutershealth.com              http://www.ccil.org/~cowan
Yakka foob mog.  Grug pubbawup zink wattoom gazork.  Chumble spuzz.
    -- Calvin, giving Newton's First Law "in his own words"

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