Re:Dart language
by frisco on Monday October 10, 2011 @03:14AM
(#3092580)
The "hello world" example is incredibly uninformative. What does that have to do with "structured web programming"? Where is this printed out on a web page? Does the console output there correspond to the html output? Or some other console?
[ Parent
| on HN ]
It's actually runnable if you click the "play"-icon in the top-left of the code sample.
The "Hello, Dart!" is written to a console emerging from underneath the code sample.
https://code.google.com/p/dart/source/browse/branches/bleedi... is a more DOM-oriented version of the same program.
I realize it's runnable -- that's what I mean by it's not clear what the console that appears underneath refers to. Is that "echoed" out to the page? Or something different?
Yeah, there are more links to code samples here: http://www.dartlang.org/samples/index.html
Hmm strange, I can't see the "play"-icon using FFX 3.6.23
Dart currently compiles to JS that runs on Firefox 4+.
http://www.dartlang.org/docs/technical-overview/index.html#h...