Live data from Hacker News

Angular Announces AngularDart

news.dartlang.org

71–80 of 177 posts

Re: Angular Announces AngularDart

#71

Earlier quoted context omitted.

You have a right to be revolted by peoples' revulsion, which you are presently executing quite well. I don't have a problem with that, I just think you're loudly complaining about how loud everyone is. ;)

Actually you're right, that's exactly what I'm doing. It's like when people are loudly talking in a library and you loudly go "shushhhh!"

...Did it work?

Hint: you're not in a library, you're in a discussion thread.

Re: Angular Announces AngularDart

#73
post #61

I'm really starting to get tired of the cynical and snarky negativity on HN. Whoever thinks this is part of some grand plan to force Dart down our throats clearly has no clue whatsoever about how Google works. Standard disclaimer: I'm a Google engineer and these opinions are my own and don't reflect those of my employer. Google is a really large company with >10,000 engineers. A lot of what we do starts as grassroots…

That's nice that you work somewhere within the vast organization that is Google, but again, this information comes from a source close to the Angular core team about instructions that the core team have received. Unless you're somehow party to this (which you have indicated you're not), I don't see what you can add here.

Re: Angular Announces AngularDart

#74

When I look at Dart vs JS (JavaScript), I see a lot of parallels to Java/C#. The Java language stagnated for a long time under Sun. The language was usable only through the heroic efforts of tool vendors (Eclipse, IntelliJ, etc.) Even with these tools, Java is just barely good enough. C# is technically a superior language to Java. Combined with an excellent IDE (VS), the .NET platform is probably technically superior…

Not a good comparison.

Java and C# are both well designed server side languages. C# has the simple advantage of being younger and learn from Java in the real world.

JavaScript in the real world is not even close to Dart. JavaScript is currently trying to solve problems Java never had to begin with.

In almost every category Dart is technically superior. Shouldn't be a surprise, they took their time and learned from more than a decade of dealing with JavaScript. They are also not done yet, they are planning to inject binary code directly into memory.

Just look at Lars Bak's history, he is the right guy to create the Java/JavaScript successor for the web.

Re: Angular Announces AngularDart

#76
post #61

I'm really starting to get tired of the cynical and snarky negativity on HN. Whoever thinks this is part of some grand plan to force Dart down our throats clearly has no clue whatsoever about how Google works. Standard disclaimer: I'm a Google engineer and these opinions are my own and don't reflect those of my employer. Google is a really large company with >10,000 engineers. A lot of what we do starts as grassroots…

There might not be a formalized 'grand plan,' but Dart doesn't have the open, cheerful intentions of CoffeeScript. It's being designed as a javascript replacement. Google's overbearing intention is obvious. You're right: Dart is, functionally, another CoffeeScript, but that's despite Google's plan--ok, 'experiment'--not by design. >So, please, can we discuss this on its merits Your criticisms are shared. That's what…

What are "open, cheerful intentions"?

Open? Dart has been open-sourced for 2 years now - only having its proof-of-concept done in-house before the announcement.

Cheerful? Not sure how one language that compiles to JS is more "cheerful" than an other, but we're really a cheerful bunch in person. I'm sure you could have a beer with us if you'd like :)

As to the your and the OP's point about Dart being another CoffeeScript, this is really far from reality. CoffeeScript is just syntax changes, and that's not sufficient for fixing JavaScript major problems - which come form its semantics, not it's syntax.

Dart and CoffeeScript are actually quite far apart on the spectrum of compile-to-JS languages: Dart tries to keep a similar syntax and fix the semantics, CoffeeScript tries to keep the semantics and "fix" the syntax (I personally find CoffeeScript very hard to read). Claiming that Dart is another CoffeeScript, to me, shows a real lack of knowledge about one or both of the languages.

Re: Angular Announces AngularDart

#77
post #61

I'm really starting to get tired of the cynical and snarky negativity on HN. Whoever thinks this is part of some grand plan to force Dart down our throats clearly has no clue whatsoever about how Google works. Standard disclaimer: I'm a Google engineer and these opinions are my own and don't reflect those of my employer. Google is a really large company with >10,000 engineers. A lot of what we do starts as grassroots…

Thanks to you guys for trying to get rid of the Javascript deadlock/choke hold and get the ball moving. It was about time too.

Re: Angular Announces AngularDart

#78

Earlier quoted context omitted.

Maybe I'm missing something, but yes, I think so. Dart version 0.8.10.3_r29803. pubspec.yaml: name: test1 dependencies: browser: any angular: git: https://github.com/angular/angular.dart.git test1.dart: import 'package:angular/angular.dart'; main() => ngBootstrap(); dart2js launch => builds test1.dart.js, about 5MB, 142,749 loc.

Yes. You need to add a @MirrorsUsed annotation in your main.dart file. See https://github.com/jbdeboer/angular-dart-js-size/blob/master... for our current best practices. You should get ~173KB gzipped, minified dart2js output.

Beautiful. Thanks!

Re: Angular Announces AngularDart

#80

Earlier quoted context omitted.

Actually you're right, that's exactly what I'm doing. It's like when people are loudly talking in a library and you loudly go "shushhhh!"

...Did it work? Hint: you're not in a library, you're in a discussion thread.

"Working" in this instance would be convincing others not to complain. I have no way of measuring that outcome. I tried, my effort got some exposure, so perhaps I can h o p e that I convinced at least one person. Clearly, I failed with you though :)
Post reply on HN