Earlier quoted context omitted.
All I heard it from your post is a lot vitriol and hatred. I don't know who Seth Ladd is. I looked at the page and it skipped over his title and went straight to the text. I don't care if Google paid him, or if the works for Google, or if he wrote because he was forced to at gunpoint by Colombian mafia. It doesn't matter. It is a good article and I enjoyed reading it. It is very well done, it shows how the IDE works,…
>proof that he was forced to do this against his will by Google strawman alert.
I ported a JavaScript app to Dart
61–70 of 83 posts
Re: I ported a JavaScript app to Dart
#62Earlier quoted context omitted.
All I heard it from your post is a lot vitriol and hatred. I don't know who Seth Ladd is. I looked at the page and it skipped over his title and went straight to the text. I don't care if Google paid him, or if the works for Google, or if he wrote because he was forced to at gunpoint by Colombian mafia. It doesn't matter. It is a good article and I enjoyed reading it. It is very well done, it shows how the IDE works,…
>proof that he was forced to do this against his will by Google strawman alert.
Re: I ported a JavaScript app to Dart
#63Re: I ported a JavaScript app to Dart
#64Earlier quoted context omitted.
Your definition of astroturfing doesn't seem to match mine. Seth states several times on his blog that he works on Dart developer relations at Google. Blogging about Dart is part of his job, and in no way is he being deceiving about that fact. I on the other hand am simply an engineer on the Dart team, as I must disclaim in this context.
Where does he mention that other than the sidebar? I completely missed the fact that he works for Google while reading the article since it's never mentioned in the body of the article itself, and the article is written as if he's completely new to Dart and trying it out for fun. If he's not trying to present that image, then it's a really awful writing style.
Seth Ladd's Blog
Dart DevRel @ Google, web engineer, author, conference organizer.
Re: I ported a JavaScript app to Dart
#65Earlier quoted context omitted.
Do you imply a conflict of interest? If you do, please state it explicitly. Your criticism as it stands doesn't add to the discussion and one could say that your writing style is really awful, too. Sidebar is not an unusual place to place author bio and it is definitely enough for me.
Okay, I'll state it explicitly: I feel that the article is actively deceptive about the background of the author, which makes me distrust the content of the article as well. The sidebar with his background is not visible on the first page of the content, so I would have had to interrupt reading the article to read it. I say that it is a bad writing style because I am assuming good faith. I assume that the positioning…
Oh please. Most blog authors barely manage to fill out an About page, let alone a sidebar and a big subheading at the top of the page that says who their employer is. If you're going to claim to be "assuming good faith", how about actually doing so?
Re: I ported a JavaScript app to Dart
#66Earlier quoted context omitted.
What irks me is that the things he picks on have long since been solved. So the fact that he works at Google tells me that he knows better and is being intentionally deceitful. He picked a project that doesn't use any modern (by modern I mean in the last 5 years) practices like module loaders. It's fine to say that JavaScript doesn't have this by default, but that's not what he did here. He pretended to think that it…
I hope I didn't "pick on" anything. My attempt was to do a before/after and then list out what I, personally, learned. I thought I did say "JavaScript doesn't have some of these features like modules or promises by default" at the bottom of the article. I picked a project that was written this year, and because it used Web Audio API and looked pretty. I was inspired by the original app, and I wanted to see what a Dar…
I'm sure someone could look at early Dart projects and find things unpleasant about them compared to today.
Re: I ported a JavaScript app to Dart
#67I really like Dart. I'm surprised its not getting traction faster. Its a language with few surprises, everything looks familiar and works as you'd expect without gotcha's. While it doesn't feel cutting edge like Haskell or retro on steroids like Clojure, it seems just right as a replacement for Javascript.
There are so many novel, cool "JS replacements" that it's easy to feel some paralysis about the whole matter. Do you go with Dart? TypeScript? Clojure? Or do you stick with regular JS and start learning a new framework (e.g. Angular)?
They're not necessarily mutually exclusive, but I think a good majority of web developers are waiting to see what unfolds before committing one way or the other.
Re: I ported a JavaScript app to Dart
#68I wonder how the size of the dart-generated js compares to the size of the original js.
Good question, I'll try to add that. Maybe more importantly, what is the startup time for the two versions?
Re: I ported a JavaScript app to Dart
#69Earlier quoted context omitted.
Thought you'd might want to know that Promise¹ is available in Firefox & Chrome since quite a while back and the spec for Modules can be found here: Spec: http://wiki.ecmascript.org/doku.php?id=harmony:modules 1: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Yup, thanks! What's the story for modern browsers that don't yet support those features? Do they both have polyfills? As I mentioned in the article, libraries and futures aren't exclusive to Dart. It's just that they are here now for Dart and are compiled to JavaScript for all modern browsers. I think it's telling that the original author didn't use Promises or Modules. Of course he could have, but we should ask, why…
Given that you'll need to compile dart down to JS for it to run on any browser (including chrome), and given that it seems unlikely Mozilla will ever include a dart VM, I'd say that starting to learn ES6 now is probably a better long-term bet than learning dart. Which isn't to say Dart isn't a nice language...
Re: I ported a JavaScript app to Dart
#70It's a little bit sad that Google pays people to have their entire job be to astroturf for Dart with blog posts like this one. Being a "developer advocate" is one thing, writing official documentation, answering questions on forums, whatever — but "I ported a JavaScript app to Dart. Here's what I learned." Seriously? More like "I'm on the Dart Team. I ported a JavaScript app to Dart because it's my job." Open source…