It doesn't look like to support JSON anymore: http://try-dart-lang.appspot.com/s/86QN
It just doesn't have the syntax for maps that javascript has for objects.
71–80 of 504 posts
It doesn't look like to support JSON anymore: http://try-dart-lang.appspot.com/s/86QN
It just doesn't have the syntax for maps that javascript has for objects.
class Sunflower {
static void main() {
new Sunflower();
}
No thank you! I would rather stay with prototype objects.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?
Well, it's hard to get that much better than that.
> Plus there are classes, interfaces... It's just Java?
Java didn't invent classes. It certainly looks a lot like Java, but it's more Smalltalk under the hood.
From whatever little I see, I am already hating it :-) This looks like Java for Javascript, if that makes any kind of sense. We are in the year 2011, PL design has progressed so much since 1990 that such an anachronism is unpardonable. I sincerely wish that companies like Google focus on hiring the right kind of person for designing programming languages. What is frustrating is that there are so many people who can d…
It completely does. And I love that it manages to be completely incoherent with Go, the other "Google Language". That's so symptomatic of what google does on that front.
To me this looks a lot like Java but with optional types.
Aaaarghhh! It is full of semicolons. Is it really necessary in the 21st century to create a language that terminates lines with semicolons? I am sure I have seen some other languages in the past that get by just fine without them.
The language isn't done yet. Now is the time to let us know if you want semicolons to go away. I know some of us on the team do too, but public interest will help a lot.
- no braces where avoidable, no semicolons where avoidable
- release early a free, open source reference development environment that really helps in developing with Dart. The biggest pain with Javascript, imho, is in the lack of development tools really thought out for it, and not just an adaptation of Java/C/whatever other editors
- if you develop said IDE as a web-IDE, even better (why not writte in dart itself?)
- give as many inobtrusive visual cues as possible to easily see tab alignment, syntax coloring, etc.
- integrate unit testing facilities in the IDEAaaarghhh! It is full of semicolons. Is it really necessary in the 21st century to create a language that terminates lines with semicolons? I am sure I have seen some other languages in the past that get by just fine without them.
The language isn't done yet. Now is the time to let us know if you want semicolons to go away. I know some of us on the team do too, but public interest will help a lot.
Seeing how Go, which "wasn't done yet" either, handled external feedback... I don't see why anyone would have hopes for dart.
It doesn't look like to support JSON anymore: http://try-dart-lang.appspot.com/s/86QN
Earlier quoted context omitted.
The language isn't done yet. Now is the time to let us know if you want semicolons to go away. I know some of us on the team do too, but public interest will help a lot.
they should not be mandatory
class Sunflower { static void main() { new Sunflower(); } No thank you! I would rather stay with prototype objects.