Dart language
dartlang.org
Dart language
1–10 of 504 posts
Re: Dart language
#2Creating 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
#3The "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
#4Creating 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
#5Hmm. A little underwhelmed so far.
Re: Dart language
#6Can anyone explain why I should use this instead of other web programming languages?
Re: Dart language
#7Looks like an extended javascript with strong typing and more OO support, is it designed to replace javascript?
Re: Dart language
#8New 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
#9The "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
#10I 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?