Hacker News new | past | comments | ask | show | jobs | submit login

The main repository is currently SVN. When Chromium switches over to Git, we will probably follow suit. At some point there was a clone on Github, but I don't know by heart if it still exists.

Syntax is almost like a religion. You can't make everyone happy. So yes: although we changed the syntax in some areas, we kept the C-like syntax.

Fwiw you can't satisfy every feedback. There are always people that want to make Dart look and behave like their favorite language (be it Java, C#, JS, CS, Python or Ruby), then there are others that just want to boycott Dart, and finally there are simply conflicting views.

While we listened to every feedback we got, we found that feedback from people that had actually tried and used Dart to be the most helpful. They weren't always the loudest, but helped to make Dart a better language.




Nobody uses or likes Java for its syntax. They use it for safety. Languages designed since the have gotten progressively terser. That's not preference: that's good engineering: reasonable defaults, avoiding duplicate logic, avoiding surprise, and so forth. Good design is when there's nothing left to take away.

Nobody is asking you to make everyone happy. You could have made (and still have the opportunity to make) dart look like any modern web language - coffeescript, or Python, or ruby, and you'd have both users and a measurable impact on web development.


Have you written or read much Dart?

It's pretty damn concise and a far sight from Java. It's more concise in many cases than JavaScript (and only more verbose around things like type coercion where being explicit is a much safer choice). I admit though, that Dart is more verbose than Perl :)

C-style syntax doesn't have to mean verbose when you have features like short lambdas, optional types, string interpolation, operator overriding, getters and setters, setting instance vars directly from constructor parameters, fewer keywords, mixins, etc. C-style syntax also makes the language pretty much instantly readable, and if you're targeting web developers, being familiar to JavaScript, Java, C#, and ActionScript, is really important.

Honestly, Dart is the most readable language I've used, and that includes many years writing Python.


I wrote up why I think Dart is not the language you think it is here: http://programming.oreilly.com/2013/05/dart-is-not-the-langu...

[disclaimer: I work on the Dart team]




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: