The Artima Developer Community
Sponsored Link

Java Buzz Forum
If You Love Web Programming, Root For Dart

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
If You Love Web Programming, Root For Dart Posted: Oct 30, 2011 7:25 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: If You Love Web Programming, Root For Dart
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

It's interesting to watch the debate between Brendan Eich and Google over the merits of Google's Dart programming language.

Brendan Eich: Don’t kid yourself. Google is not just trying to “advance the web”. Putting things in Chrome that have no standard spec in progress and none in sight, pulling Chrome-only (not just “works best in Chrome”) marketing stunts, paying app developers to do Chrome-only versions, paying for opt-out bundling of Chrome (with default browser opt-out to boot, recently killed by Microsoft when the Skype deal closed). These are intentional acts.

Brendan made it sound like the big bad Google is out to break the web. Somehow I don't believe it. Why would they want to do that? And Brendan's vehement opposition to Dart (something I heard mentioned on the Twitter but never paid attention) prompted me to seek out information about it. And what do I find? This:

Improving the DOM, written by Bob Nystrom: Here's some code:

// Old:
elem.addEventListener('click',
    (event) => print('click!'), false);

elem.removeEventListener(
    'click', listener);
// New:
elem.on.click.add(
    (event) => print('click!'));

elem.on.click.remove(listener);

As much as I hate web programming, I have to say that the new way of doing things feels better than the old. I can't imagine lovers of web programming would oppose such an improvement to the web programming landscape.

Brendan's argument against Dart is a political one: Dart is bad because Google will be putting it unilaterally into their own Chrome browser and they are not even trying to submit it as a standard. And even if they did, other browser vendors won't implement it, therefore Dart is a dead-end.

But isn't the crown jewel of web programming, the venerable XmlHttpRequest (aka Ajax) a proprietary mechanism unilaterally put into their own Internet Explorer browser by the big bad Microsoft?

Even Mozilla's own Firefox, contains plenty proprietary (although open source) tools that they are not intending to standardize, like XUL, that no one uses on the web.

I don't know if Dart will win at the end. But even if it loses, it deserves your support now, if only to put pressure on the JavaScript vendors to make improvements in a more rapid pace.

Read: If You Love Web Programming, Root For Dart

Topic: Java 6 Update 29 Released Previous Topic   Next Topic Topic: New in 11: Javadoc editing improvements

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use