New Programming Language – Dart

by Phuong H
In the article “Google Reveals Dart, New Open-Source Programming Language” written by Jill Duffy from PcMag, the author talks about the new open-sourced programming language developed by Google – Dart. Dart “is a class-based programming language used to create structured Web applications.” Dart is an improvement upon the JavaScript. The main goals of Dart is

structured yet flexible language for web programming

– familiar and natural to learn

– deliver high performance on all modern Web browsers and environments, regardless of size

I choose this article because this week we learn about different types of languages used for database web development and I think that upon knowing the current available programming language, we should be keep update with the new one as well.

 

example of dart code  (from dartlang.org)

import 'dart:html'; 
main() { 
var msg = query('#msg'); 
var btn = new ButtonElement(); 
btn.text = 'Click me!'; 
btn.on.click.add((e) => msg.text = 'Dart!'); 
document.body.nodes.add(btn); 
} 

 

Source:

http://www.pcmag.com/article2/0,2817,2394404,00.asp

http://www.dartlang.org/

5 thoughts on “New Programming Language – Dart

  • November 18, 2012 at 2:11 pm
    Permalink

    This is a very interesting read. I just read an article about the vast use of JavaScript, and how its popularity is increasing. Find out that Google has created a new language that is based on JavaScript, furthers the theory that JavaScript may be the future of programming. Nice inclusion of the sample code, I can really see some similarities in the syntax.

  • November 18, 2012 at 2:59 pm
    Permalink

    It is amazing how Google continues to bring new products to the table, being open source I believe that this language might take off and because it is an improvement of javascript even become a widely used. This is a good article and I like that you included a sample of the code so that we can see it; however I think adding a sample of javascript would be nice to so we can compare.

  • November 18, 2012 at 7:44 pm
    Permalink

    I like Google and their need for speed, I remember when Google Chrome came out and it was suppose to be faster then the current web browsers out there and so it was. Google is great when it comes to innovation, they even let their employee dedicate time to their own projects thus they work on projects they actually like to do and get paid for it, That’s how Street view came into play on Google maps, But yeah interesting article and thanks for keeping us up to date.

  • November 18, 2012 at 9:49 pm
    Permalink

    As a Google fan, I also think it’s great that they are always looking for ways to innovate (such as their next attempt as being a cell phone service provider). I think Dart is good and will only become better, but currently the only issue with Dart is that it’s only natively supported on Chrome. Using any other browser will require additional scripts. I think until other browsers adapt Dart, Google should spend more time improving the V8 engine.

  • November 19, 2012 at 1:45 am
    Permalink

    Great post and easy read! Google has always been the one that I want to work for. JavaScript has been widely used for a long time and it is good to know Dart as another cool option. It is said that Dart is designed to be simpler, more familiar, and faster than JavaScript and I am not sure about that, but It seems to be able to work on any kind of types and all you need to do is check the type you want and work on it.

Comments are closed.