Re:"Hello World" in Dart, compiled to JavaScript
by ootachi on Tuesday October 11, 2011 @02:52AM
(#3097489)
Well, except for the unsound covariant generics, the lack of an arguments object, and the implicit downcasts, and so on...
[ Parent
| on HN ]
Re:"Hello World" in Dart, compiled to JavaScript
by rayiner on Tuesday October 11, 2011 @04:05AM
(#3097675)
Hint: Dart is a dynamically typed language. The covariant generics and the implicit downcasts are there on purpose.
The lack of an arguments object is a feature not a bug. A rest argument like in Lisp is much better for optimization. The design isn't done yet given that Dart has optional arguments a rest argument would fit in.