[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Python and JSON vs XML???


javascript vs python
* Bob Foster <bob@o...> [2005-08-25 13:06]:
> Dare Obasanjo wrote:
> >I think you are overanalyzing the issue. The fact is that developers using 
> >object oriented programming languages like treating distributed 
> >applications as distributed object applications.

> Yes <sigh> today's developers want everything to be objects. The
> list of useful entities that are not objects is quite long - XML,
> relational tables and records, higher-order functions, patterns,
> messages, etc. - but developers will have none of these unless
> they can see them through OOP-colored glasses, no matter how
> horribly awkward or inefficient the translation.

    Web application programming, the client-side, scripting heavy
    sort that people are flocking to today, is a path that forces
    successful application developers to abandon objects.

    JavaScript is a weak OO langauge, since it lacks inhertience,
    and polymorphism. There are no namepsaces, so modular programing
    is difficult. Reuse is already hard enough to coordinate, see
    how far you get without package/unit/library facilities in the
    host language.
    
    Programmers will buy into the textbook notion that you can work
    around this with JavaScripts prototypes, but soon find that they
    have poorly organized, bloated classes.

    And then, of course, the OO facilities in JavaScript are slow.
    JavaScript handles many small objects, the natural direction of
    OO programming, very poorly.

    I've done some hacking on Mozile, a CSS editor that's built on
    Gecko. It followed a familiar path in development.

    In 0.6 they attempted to create an cross-browser abstraction
    layer, so that the editor would work on IE, Mozilla, and Safari.
    This never happens, and it didn't happen. The editor only ever
    worked on Gecko, and because of the extra layer, it worked
    slowly. 

    In 0.7 the editor is written directly to Gecko. It's functions
    only, manipulating the DOM. 

    There is a natural direction from this realzation, is toward and
    application that application uses closures to specify editor
    behaviors, which, since they are used in all scripted event
    handlers, are vetted, and perform quite well.

--
Alan Gutierrez - alan@e...
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.