[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The Browser Wars are Dead! Long Live the Browser Wa rs!
* John Cowan | | Python is essentially Scheme with indentation instead of | parentheses. I don't think this really is true. The design of Scheme favours purity of design and The Right Thing over everything else, while Python is very much a worse-is-better language where practicality is everything. Scheme has no built-in library, where in Python this is a major component of the language. Scheme makes few, if any, concessions to practical use, whereas in Python this is the primary concern. The one thing that has been central to Scheme since it was invented: continuations (and to a lesser degree, closures) is completely missing from Python and nobody would ever even consider adding it. Scheme has only one way to build programs: closures, while in Python you have functions and classes. They are also different with regards to syntax (fixed in Python), scope model (dynamic and somewhat simplistic in Python), portability (Scheme is very carefully defined, but in Python much depends on the C layer on each platform), and much much more. In fact, it's difficult to see what is similar about the two languages. It would be interesting to hear why you think they are so similar. -- Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net > ISO SC34/WG3, OASIS GeoLang TC <URL: http://www.garshol.priv.no >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|