Book description
Dart is a class-based, object-oriented language that simplifies the development of structured modern apps, scales from small scripts to large applications, and can be compiled to JavaScript for use in any modern browser. In this rigorous but readable introductory text, Dart specification lead Gilad Bracha fully explains both the language and the ideas that have shaped it.
The Dart Programming Language offers an authoritative description of Dart for programmers, computer science students, and other well-qualified professionals. The text illuminates key programming constructs with significant examples, focusing on principles of the language, such as optional typing and pure object-orientation.
Bracha thoroughly explains reflection in Dart, showing how it is evolving into a form that programmers can easily apply without creating excessively large programs. He also shares valuable insights into Dart’s actor-style model for concurrency and asynchronous programming. Throughout, he covers both language semantics and the rationale for key features, helping you understand not just what Dart does, but why it works the way it does.
You will learn about
Dart’s object model, in which everything is an object, even numbers and Boolean values
How Dart programs are organized into modular libraries
How Dart functions are structured, stored in variables, passed as parameters, and returned as results
Dart’s innovative approach to optional typing
How Dart handles expressions and statements
How to use Dart’s implementation of reflection to introspect on libraries, classes, functions, and objects
Isolates and other Dart features that support concurrency and distribution
Register your product at informit.com/register for convenient access to downloads, updates, and corrections as they become available.
Table of contents
- About This E-Book
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
- Chapter 1. Introduction
-
Chapter 2. Objects, Interfaces, Classes and Mixins
- 2.1 Accessors
- 2.2 Instance Variables
- 2.3 Class Variables
- 2.4 Finals
- 2.5 Identity and Equality
- 2.6 Class and Superclass
- 2.7 Abstract Methods and Classes
- 2.8 Interfaces
- 2.9 Life of an Object
- 2.10 noSuchMethod()
- 2.11 Constant Objects and Fields
- 2.12 Class Methods
- 2.13 Instances, Their Classes and Metaclasses
- 2.14 Object and Its Methods
- 2.15 Mixins
- 2.16 Related Work
- 2.17 Summary
- Chapter 3. Libraries
- Chapter 4. Functions
- Chapter 5. Types
- Chapter 6. Expressions and Statements
- Chapter 7. Reflection
- Chapter 8. Asynchrony and Isolates
- Chapter 9. Conclusion
- Bibliography
- Index
- Code Snippets
Product information
- Title: The Dart Programming Language
- Author(s):
- Release date: December 2015
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133429961
You might also like
book
Dart: Scalable Application Development
Master the art of designing web client and server with Google’s bold and productive language – …
book
Programming Android with Kotlin
Developing applications for the Android mobile operating system can seem daunting, particularly if it requires learning …
book
Dart in Action
Dart in Action introduces Google's Dart language and provides techniques and examples showing how to use …
book
Programming Kotlin
Programmers don't just use Kotlin, they love it. Even Google has adopted it as a first-class …