Earlier quoted context omitted.
There's a bit of a chicken-egg problem with a project choosing Dart, in that Dart has to already be ubiquitous for it to even be an option. What is the pathway for Dart adoption? Google puts it in Chrome. Sure. Dart programmers get to deploy to the Chrome browser, so they do some fun side projects and they run on Chrome only. Fine. Show me how Dart can then move to every browser on every device. Then show me how what…
> What is the pathway for Dart adoption? dart2js: https://www.dartlang.org/docs/dart-up-and-running/contents/c...
Angular Announces AngularDart
141–150 of 177 posts
Re: Angular Announces AngularDart
#142Sigh ... I knew this was going to happen. :-/ This is part of Google's strategy to push Dart in the browser. Soon they're going to start developing Angular primarily in Dart, and 'back-porting' features to JavaScript. Sadly, this is the nature of so-called "Open Source" at Google.
> Sigh... I knew this was going to happen. :-/ Yay... I was hoping this would happen :-) > This is part of Google's strategy to push Dart in the browser. I know, great, right. > Sadly, this is the nature of so-called "Open Source" at Google. I criticize Google often but yeah this is great. Good for Google. It is more than what Oracle or Microsoft or others do. My opinion is this -- JS is a shitty language. It was a s…
That won't happen. With the amount of JavaScript on the Web, JS is immortal. All you can do is to add another language alongside it.
> There were other posts here about JS's warts, so I am not the only one who welcome any other sane, normal, language to replace it.
But it won't be replaced.
Re: Angular Announces AngularDart
#143Earlier quoted context omitted.
> A Dart to JS compiler will never be "decent" compared to having the Dart VM in the browser. I'm new to javascript & dart, so honest question here: why?
Don't listen to the hate and vitriol. Dart has a nice IDE, good clean types and language design. People are upset because they jumped on the wrong band-wagon and now something shiner and newer came around so they are not the cool hipsters anymore. Kind of like in the kindergarten the kid with the shiny new bike is boasting then some other kid gets the later, better, shinier model, the first gets upset and throws a ta…
I have a serious problem with Dart's design: the type system is deliberately unsound around generics because the designers apparently think that supporting variance (which is not that difficult!) is worse than having types tell the truth. I would much rather there be no type system at all than there to be an unsound one, as I don't think compilers and IDE's should lie to you.
I think that's a mistake that the new language of the Web should not make, but Google seems unwilling to change it. Unlike JavaScript's warts, which be worked around for the most part, I don't see any way to fix a flaw that serious in the type system once Dart is stable.
Re: Angular Announces AngularDart
#144Earlier quoted context omitted.
I am flocking to Dart. Just because there are handful of "developers" yelling and spitting at everyone here doesn't mean others don't like Dart or are not learning it. They just don't yell and spit in everyone's face about so it makes it seems like "OMG nobody uses Dart, please shut it down". Dart is a great language, I like it. It has consistent typing rules, very fast, has a good IDE. I for one, would like to thank…
One rdtsc does not make a flock :P But I don't have any problem with Dart as an experiment in language design. I don't even really have any problem with Angular.dart. We can always use another language that transpiles down to javascript. People are free to use what they want. (Unfortunately, my understanding is the dart2js process is horrifically inefficient, but that's no skin off my nose.) I will, however, drive ho…
I'm personally happy that there's still hope we have a future option for a re-invented language optimized for web development rather relying on the glacial pace of continually patching JS to make it more maintainable.
It's a small yet powerfully expressive language that's easy to learn, it's very well thought-out and balanced providing greater consistency in both language and library behavior which is a nice contrast to the dump of incompatible JS fx's, it's optional typing adds a lot less friction and is a lot more productive that statically-typed langs, but also provides time-saving compiler feedback alerting errors as you type. It's support for source-maps are best-in-class whilst Dartium provides strong tool-ability and debug support and very fast live-reload cycles. Dart is an awesome option even without considering it's ~10x faster start-up times with Snapshots or its fast run-time performance which sees it can solve the Norvig's top95 Sudoku grids 200x times faster than Ruby: https://github.com/dartist/sudoku_solver#side-by-side-result...
Dart's not perfect and there are some language features I wish it had but over-all I think it's a magnitude better option than vanilla JS. It currently has less momentum than JS, but I hope to see that change as a JS-only future ensures web development will be forever stuck in the middle-ages.
Re: Angular Announces AngularDart
#145Earlier quoted context omitted.
If the ECMAScript committee would just take typing ideas from TypeScript, stamp ECMAScript 6.1 on it, and approve it as standard, JavaScript could become an amazing language.
Are you listening Brendan Eich? Not only that, implement it right away in the JS engines.. Javascript must move faster, because even that people are being forced to like it(because they dont have anywhere to hide); everything has limits.. everybody knows that we cant go on with the javascript the way it is right know and pretends everything its just fine and its all roses and unicorns.. Im trying to create something…
Re: Angular Announces AngularDart
#146Earlier quoted context omitted.
> What is the pathway for Dart adoption? dart2js: https://www.dartlang.org/docs/dart-up-and-running/contents/c...
How is that different from all the other languages out there that transpile to JavaScript?
Re: Angular Announces AngularDart
#147Earlier quoted context omitted.
Don't listen to the hate and vitriol. Dart has a nice IDE, good clean types and language design. People are upset because they jumped on the wrong band-wagon and now something shiner and newer came around so they are not the cool hipsters anymore. Kind of like in the kindergarten the kid with the shiny new bike is boasting then some other kid gets the later, better, shinier model, the first gets upset and throws a ta…
> Dart has a nice IDE, good clean types and language design. I have a serious problem with Dart's design: the type system is deliberately unsound around generics because the designers apparently think that supporting variance (which is not that difficult!) is worse than having types tell the truth . I would much rather there be no type system at all than there to be an unsound one, as I don't think compilers and IDE'…
Re: Angular Announces AngularDart
#148I'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…
Re: Angular Announces AngularDart
#149Earlier quoted context omitted.
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 CoffeeScr…