
Early this week Google announced a new programming language it
is developing to replace Javascript. The reason for this upgrade
being "to be more easily tooled for large-scale projects and better
security features" [source].
The goal is to make the language familar to programmers, like
using classes, and also similar syntactically so there is a small
learning curve. The classic 'Hello World!' example looks like this
in DART:
main() {
var name = 'World';
print('Hello, ${name}!');
}
As far as current compatability, it will work in Chrome, Safari
5+, Firefox 4+, and on servers -- with more to come. For further
reading and examples, check out the DART
language page. We are excited to be experimenting with DART, is
a Javascript replacement needed?
- Chad Schulz
Internet Improvement Engineer