Live data from Hacker News

Dart language

dartlang.org

1–10 of 504 posts

Re: Dart language

#2
Creating an object:

    Greeter greeter = new Greeter()
or

    var greeter = new Greeter()
Defining a constant:

    static final myConst = 1

Plus there are classes, interfaces... It's just Java?

Re: Dart language

#3
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?

Re: Dart language

#4
post #2

Creating an object: Greeter greeter = new Greeter() or var greeter = new Greeter() Defining a constant: static final myConst = 1 Plus there are classes, interfaces... It's just Java?

Looks a lot more like James Gosling, actually ....

Re: Dart language

#8
New MIME type "application/dart"... I suspect that Google Chrome will embed a Dart Runtime when it gets stable, that will be very interesting; I'm not sure if it's a good or a bad thing though.

Re: Dart language

#9
post #3

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?

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.

Re: Dart language

#10
I don't get it. What's the runtime for this? The interpreter seems to be running on App Engine, so it's probably JVM based, right?
Post reply on HN