Map is solving the real problem of code duplication for the scenario "create a new list whose elements are the elements of the original list to which f was applied". Not only does it reduce boilerplate but when you read…
IDE support is not a prerogative of Java.
Google engineer here too. I completely agree with the fast edit/refresh cycle being a huge plus but that's precisely what Dartium (the build of Chromium that includes the Dart VM and ships with the Dart editor) is for.
Sorry, what do you mean by function hoisting? The fact that you can write mutually recursive functions at toplevel? Anyway, I was referring to variable hoisting.
You don't need a VM to compile something into Javascript but the VM buys you a fast edit/reload cycle and some tooling like a debugger. Also Dart can be used as server-side language and there the VM makes sense. It can…
(Disclaimer: I'm partly working on Dart) - Every Javascript program is a valid typescript program so typescript doesn't fix JS semantics (like variable hoisting and the only numeric type being floats). I think…
The point is right now JS developers of big apps write this kind of comments because they are understood by tools like https://developers.google.com/closure/.
Map is solving the real problem of code duplication for the scenario "create a new list whose elements are the elements of the original list to which f was applied". Not only does it reduce boilerplate but when you read…
IDE support is not a prerogative of Java.
Google engineer here too. I completely agree with the fast edit/refresh cycle being a huge plus but that's precisely what Dartium (the build of Chromium that includes the Dart VM and ships with the Dart editor) is for.
Sorry, what do you mean by function hoisting? The fact that you can write mutually recursive functions at toplevel? Anyway, I was referring to variable hoisting.
You don't need a VM to compile something into Javascript but the VM buys you a fast edit/reload cycle and some tooling like a debugger. Also Dart can be used as server-side language and there the VM makes sense. It can…
(Disclaimer: I'm partly working on Dart) - Every Javascript program is a valid typescript program so typescript doesn't fix JS semantics (like variable hoisting and the only numeric type being floats). I think…
The point is right now JS developers of big apps write this kind of comments because they are understood by tools like https://developers.google.com/closure/.