Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why use Dart as a front end developer? [closed]

Tags:

dart

I just wanted to get a view on why one should use DART over JS, specially if you are working on the front-end; the Dart VM isn't even built into Chrome.

like image 656
Saad Avatar asked Oct 17 '12 06:10

Saad


1 Answers

Don't worry about Chrome, it will be shipped within Chrome at some point when the stable 1.0 is out.

A couple of reasons why you might want to choose Dart over plain JavaScript for front-end development:

  • Better DOM API
  • Being more productive
  • Simpler and clearer semantics
  • Lexical closures
  • Libraries and a package manager
  • Optional static typing
  • Literally tons of little details that as a whole makes it a far nicer experience (named parameters, arrow functions, etc.)

You might want to read this chapter as it explains various things that Dart can do: http://www.dartlang.org/docs/dart-up-and-running/ch02.html

You can also read this answer to the question "Does Dart have any useful features for web developers?"

like image 172
Kai Sellgren Avatar answered Oct 28 '22 04:10

Kai Sellgren