Dart Language - Introduction

For discussions about game development that does not fit in any of the other topics.
Post Reply
Baseball435
Posts: 548
Joined: Sun May 30, 2010 3:49 am

Dart Language - Introduction

Post by Baseball435 »

Hey everyone, so just yesterday I learned of a new language Google has been developing which I think will eventually take over Javascript and Ajax/JQuery. It is an object-oriented web development language called Dart and was announced back in October, 2011. I have been messing around with it for about a day and a half now and made some pretty cool things without having to use any tutorials because, well, there really isn't any. In this video I will be showing you what I have made and I will also be making a tutorial on everything very soon. So here is the video!

[youtubehd]http://www.youtube.com/watch?v=fk2vPZnzB8E[/youtubehd]
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Dart Language - Introduction

Post by Jackolantern »

Thanks for this! Dart does seem interesting, especially because it has classical OO, and yet compiles to Javascript. Can you write an OO app in the same way you would for Java or C# and then compile it to JS to work in the browser? I have tried as much as I can to embrace the classless style of JS, but in the end, I really learned programming in strictly OO languages, and wish I could code that way in JS.
The indelible lord of tl;dr
Baseball435
Posts: 548
Joined: Sun May 30, 2010 3:49 am

Re: Dart Language - Introduction

Post by Baseball435 »

Yeah the reason I love Dart is because it is OO and im so used to Java that this is like perfect for me. Sadly though, no you can't just take Java code and plug it in because of the fact that there are still changes in keywords and things like that. Dart also in some ways makes it easier to code and saves space, like for the constructor it can just be one line which I think is awesome haha.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Dart Language - Introduction

Post by Jackolantern »

Oh, no I know you can't use Java code in it, but rather, I was just wondering if you could use the same OO style, since you can't in JS. Thanks :)
The indelible lord of tl;dr
Baseball435
Posts: 548
Joined: Sun May 30, 2010 3:49 am

Re: Dart Language - Introduction

Post by Baseball435 »

Oh oh, yup you can use the exact same style!
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Dart Language - Introduction

Post by Jackolantern »

I may have to check that out! I wonder how well-formed the JS is that it generates, though.
The indelible lord of tl;dr
Baseball435
Posts: 548
Joined: Sun May 30, 2010 3:49 am

Re: Dart Language - Introduction

Post by Baseball435 »

Dont know to be honest, havent played around with that.
User avatar
mattykins
Posts: 203
Joined: Sun Jan 15, 2012 10:15 pm

Re: Dart Language - Introduction

Post by mattykins »

I have been slowly getting into web dev the past week or so, learning a bit of everything (xhtml, css, javascript, php, django, webpy) and this lang looks interesting :) I want to get into designing websites so if you did a tutorial on the dart lang that would be neat.
Baseball435
Posts: 548
Joined: Sun May 30, 2010 3:49 am

Re: Dart Language - Introduction

Post by Baseball435 »

Yeah I am planning on making the first tutorial tomorrow! Ill post it on here after I upload. Probably in the Tutorials section.

~Baseball435
Post Reply

Return to “General Development”