Hacker News new | ask | show | jobs
by tkinom 4364 days ago
"There will never need to be a jQuery equivalent in Dart."

You should read the "Criticism" part of this page.

http://en.wikipedia.org/wiki/Dart_%28programming_language%29

Apple, FF, MS are all against Dart.

Google "percentage of website power by Jquery" and tell us how are you going to convince 50% of websites to abandon JQuery and use dart.

Dart today = GWT of yesterday!!!

3 comments

That's such a straw man argument. It's 1995 - how are you going to convince 50% of C++ developers to give Java a chance?
You don't, instead you use your existing connections with corporate management and your massive advertising budget to convince managers to force developers to use it. Even if they are perfectly fine using C++ or Smalltalk.
I still can't understand why they prefered Java over Smalltalk...
Well it was clear that since Java was statically typed, it would be possible to write a faster VM for it eventually. And Sun bought up the startup that was implementing Strongtalk, an actual improvement over the bad performance of Smalltalk consumer hardware.
You are missing the point. jQuery fixes the DOM API. Dart's "dart:html" already provides a clean nice-to-use API. All those list-like things are actual Lists. Futures and Streams are also baked into the language. Normalization also isn't needed anymore.

> Apple, FF, MS are all against Dart.

Oliver Hunt isn't Apple. Brendan Eich isn't Mozilla. He doesn't even work for Mozilla anymore.

Mircosoft's JavaScript team also isn't equivalent with Microsoft itself. It also would be pretty weird for them to endorse Dart.

They have TypeScript, which sells Visual Studio, which sells Windows licenses, which sells the Microsoft ecosystem, which sells Windows Server licenses.

That's how they operate and there is nothing wrong with that, really. If you have a large existing JavaScript codebase which you want to keep, TypeScript is a pretty good choice.

I'm familiar with the criticisms, what about them? The have nothing to do with DOM APIs.