OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] The Browser Wars are Dead! Long Live the Browser Wars!

[ Lists Home | Date Index | Thread Index ]


 >> I like the python runtime model but I'm not fond of syntax that cares
 >> about white space and haven't had occasion to personally take it up.
 >> But all that I hear about python suggests its a great scripting
 >> language with some wonderful dynamic capabilities.

 >[John Cowan]
 >Python is essentially Scheme with indentation instead of parentheses.

Python uses whitespace to *force* you to lay out your code so that the
control structure is *obvious*. That leaves your mind free to concentrate
on what the program really does.

Its sort of like separating content from presentation (an XML mantra) but
applied to software.

As for the relationship between Python and Scheme, Python can be as
imperative (it/then/else, while etc.) or as functional (map, lambda etc.) as
you like. It has a foot in both camps.

Many Python programmers do not use any of its functional aspects
at all, using it as a highly powerful, engineering grade OO language
with a magnetic affinity to the textual and hierarchical structures
so beloved of XML types.


Yes, Python+XML just totally rocks.



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS