Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the role of Google's Dart programming language? [closed]

Tags:

I am having a hard time understanding what the major purpose of Google's programming language Dart is. What's its role? Why would I want to use it?

like image 995
WojonsTech Avatar asked Oct 11 '11 07:10

WojonsTech


People also ask

What is Google Dart used for?

Dart is a programming language designed for client development, such as for the web and mobile apps. It is developed by Google and can also be used to build server and desktop applications. It is an object-oriented, class-based, garbage-collected language with C-style syntax.

What is the future of Dart language?

Is Dart the Future of Mobile Development? Dart is a very user-friendly programming language that can be easily understood by beginners and fresh programmers with little effort. It mainly focuses on mobile app development which has a bright future due to technological and communication advancement.

Why Dart is the best programming language?

Primarily, the clean, intuitive, concise and simple syntax makes the Dart language very productive. Also, the built-in support for strong type checking makes it a very suitable language for large projects with a big team of developers. Dart also has a large collection of libraries and frameworks packed with it.

Why did Google develop Dart?

The idea was to create a dynamically typed language that developers could pick up pretty easily and that would increase developer productivity. Because of this, the team always focused not just on making the language accessible, but also on the other tools that developer need to be productive in a language.


2 Answers

You may checkout the technical aspects on this article. Quote:

The Dart programming language is presented here in its early stages. The following design goals will guide the continued evolution and refinement of this open source project:

  • Create a structured yet flexible programming language for the web.
  • Make Dart feel familiar and natural to programmers and thus easy to learn.
  • Ensure that all Dart language constructs allow high performance and fast application startup.
  • Make Dart appropriate for the full range of devices on the web—including phones, tablets, laptops, and servers.
  • Provide tools that make Dart run fast across all major modern browsers.

These design goals address the following problems currently facing web developers:

  • Small scripts often evolve into large web applications with no apparent structure—they’re hard to debug and difficult to maintain. In addition, these monolithic apps can’t be split up so that different teams can work on them independently. It’s difficult to be productive when a web application gets large.
  • Scripting languages are popular because their lightweight nature makes it easy to write code quickly. Generally, the contracts with other parts of an application are conveyed in comments rather than in the language structure itself. As a result, it’s difficult for someone other than the author to read and maintain a particular piece of code.
  • With existing languages, the developer is forced to make a choice between static and dynamic languages. Traditional static languages require heavyweight toolchains and a coding style that can feel inflexible and overly constrained.
  • Developers have not been able to create homogeneous systems that encompass both client and server, except for a few cases such as Node.js and Google Web Toolkit (GWT).
  • Different languages and formats entail context switches that are cumbersome and add complexity to the coding process.
like image 169
Darin Dimitrov Avatar answered Oct 23 '22 07:10

Darin Dimitrov


Major purpose of dart language is replacement of JavaScript. It fixes common issues of JavaScript, it is actually compiled to JavaScript, but in the future it will have its own VM.

Main advantages over JavaScript are that it is object oriented interface inheritance based language, it has support for interface factory builders. It has simpliefed actor model called isolators.

like image 27
Slavus Avatar answered Oct 23 '22 05:10

Slavus