Hacker News new | ask | show | jobs
by luos 4371 days ago
I tried dart just last week with dart IDE (1.4.3). It was good, much better than javascript.

My observations: Installing dependencies was easy. Types help a lot. The IDE is good but sometimes can not show the correct type or just shows dynamic, the autocomplete is usable if you write `this.` . Usable for a modify-refresh cycle but the attached chromium seems to be a little buggy (on xubuntu the window is not correctly drawn). In-browser exceptions are a little cryptic to read. Very similar syntax to java/c#. Good stdlib (I tried async/browser/math). Little cumbersome calling JS but it works. Bult-in factory pattern, setters/getters.

I think they could let users create multiline functions with the => operator (currently only one line). :)

I tried to pub my code, but it did not work for some reasons. I haven't tried since then so I don't know what kind of js it generates.