Google unveils Dart, its new programming language for building web applications and it’s a new platform developed with simplicity, efficiency, and scalability in mind, combining powerful new language features with familiar language constructs into easy to define code. Google says that its new language will assist developers by helping create a structured yet flexible language for web programming for and ensure that Dart delivers high performance on all modern web browsers and also environments ranging from small handheld devices to server-side execution………………..
- Create a structured yet flexible language for Web programming.
- Make Dart feel familiar and natural to programmers and thus easy to learn.
- Ensure that Dart delivers high performance on all modern Web browsers and environments ranging from small handheld devices to server-side execution.
- Dart targets a wide range of development scenarios: from a one-person project without much structure to a large-scale project needing formal types in the code to state programmer intent.
- To support this wide range of projects, Dart has optional types; this means you can start coding without types and add them later as needed. We believe Dart will be great for writing large web applications.
- 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.