Technical Features Of Dart
Dart is a new class-based programming language for creating structured web applications. Developed with the goals of simplicity, efficiency, and scalability, the Dart language combines powerful new language features with familiar language constructs into a clear, readable syntax.
Key Features Of Dart
Key features of the Dart language include:
Classes and interfaces provide a well understood mechanism for efficiently defining APIs. These constructs enable encapsulation and reuse of methods and data.
Dart programmers can optionally add static types to their code. Depending on programmer preference and stage of application development, the code can migrate from a simple, untyped experimental prototype to a complex, modular application with typing. Because types state programmer intent, less documentation is required to explain what is happening in the code, and type-checking tools can be used for debugging.
Developers can create and use libraries that are guaranteed not to change during runtime. Independently developed pieces of code can therefore rely on shared libraries.
Dart will include a rich set of execution environments, libraries, and development tools built to support the language. These tools will enable productive and dynamic development, including edit-and-continue debugging and beyond—up to a style where you program an application outline, run it, and fill in the blanks as you run.
This looks like very similar to general programming language so there will not be any difficulty in learning this language. Google is very much ambitious about this Dart language. According to Google Dart will be highly fast, safe and smooth.
So how do you execute a Dart code
At present as the browsers do not have support for Dart so you can execute Dart in several ways as described below:
Chrome, Safari 5+, and Firefox 4+ (more browser support coming shortly).
- Execute Dart code directly in a VM on the server side
- Use Dartboard to write, modify, and execute small Dart programs within any browser window