I think a few points are worth emphasizing. Dart produces JavaScript that is closer to being correct
<a href="https://news.ycombinator.com/item?id=5424680" rel="nofollow">https://news.ycombinator.com/item?id=5424680</a><p>Dart can produce JavaScript that is faster
<a href="http://news.dartlang.org/2013/03/why-dart2js-produces-faster-javascript.html" rel="nofollow">http://news.dartlang.org/2013/03/why-dart2js-produces-faster...</a><p>The JavaScript output of Dart2js works across all modern browsers (IE9 and above, among others.) No browser hacks required.<p>Having said that, I wish they would stop working on advancing Dart and ship a 1.0 version. It's been 1.5 years since it was announced. Make the advancements in the 1.1 or 2.0 and give the tool developers a solid target to optimize for in 1.0. Let us not have to sell clients on a beta development system, even though that's what I'm doing and it's working, despite some panic when Dart developers break things with breaking changes (which is often.)
Assuming this is not April 1 con'd.<p>Dart is really cool. Awesome, in fact. I want this project to do well.<p>But there's just no way I am going to base my business on it when not even Google uses it for their own stuff. It's just way too early.
This makes sense. Every time I side-peek at JS, I get terrified by the huge amount of libraries that one is supposed to be used to just get it running. It must be a liberating feeling to be able to just use one language with one standard library, for all your stuff. The "batteries included" philosophy worked well for Python.
The title is inaccurate, they weren't using JavaScript before, they were using CoffeeScript.<p>Seems that the story is they are moving towards a more opinionated language/framework. That it is Dart isn't the story here; they don't even mention the Dart VM as a benefit for the switch. It just as easily could be ClojureScript, which provides all of the same benefits.
Why does so many startups feel the need to brag about the fact that they're switching to <hot new technology>? To me it just comes off as an attempt to convince themselves it's a great idea.<p>How about coming back in a year and telling us how it turned out instead? Actual case-studies and analysis are interesting, fashion statements are not.
It seems very risky to base your core business on a language that's only been around for two years. Sometimes web development seems to be more volatile than the fashion industry.
Why go through so much pain to avoid JavaScript, coffeescript now Dart? JavaScript is not the problem, it's how terrible our community is at sharing/creating modular things. Classes and shitty syntax wont help you there
This sure sounds like April 1 joke, but, I get that developer(s) wanted something even more innovative then brunch and coffeescript. Like arkitaip said, it is a very risky move.
I like your post since it's a refreshing take on today's language and framework decisions. Usually people go for Coffee, Node, Go, Clojure or ClojureScript nowadays (I mixed FE and BE tech deliberately).<p>What I am interested in: Why did you go for Dart? What was the trigger? When I look at Google Trends Dart seems to have a very hard time compared to other current technologies regarding search popularity.<p>And what's your backend based on? Could I go for Dart with Node?
While I think dart is a nice language, I do not think JavaScript is bad enough to justify switching to a completely different language.<p>I worked on some big js projects, and together with a good module-system and jslint with strictmode on it works out all quite well.<p>I think OOP is nice but you can do without much of it by focussing on composition instead of inheritance.
<a href="http://en.wikipedia.org/wiki/Composition_over_inheritance" rel="nofollow">http://en.wikipedia.org/wiki/Composition_over_inheritance</a><p>Dart has a big focus on OOS and looks a lot like "JavaScript for Java Programmers".
Which is not a bad thing.
Interesting post! I'm wondering:<p>1. How do you test your Dart code?<p>2. How do you integrate Dart with your existing Javascript?<p>3. Do you use Dart Web UI?
I would be too afraid to base a business on a language that's only two years old. It's not even a guarantee that the language will remain supported by Google in the long term, given their periodic house-cleaning.
I hope Google gets (even more) serious with Dart. Web App Development with JavaScript is a joke. Just remember the recent callbacks vs promise debate. It's like JS devs know nothing about software engineering.
Many libraries, including Underscore, default to the native browser methods when they're available. It's not really much of an issue deciding which map() to use.