Chapter 6. Expressions and Statements

Expressions and statements are the backbone of most programming languages. We have seen many of Dart’s expressions and statements already. In this chapter we will give a systematic overview of the expressions and statements of Dart.

6.1 Expressions

6.1.1 Literals

We’ve encountered all of Dart’s literals by now, but this is an opportunity to go through them all in an orderly fashion. Integers

God made the integers; all the rest is the work of man.

Leopold Kronecker

In Dart, integers can be of arbitrary size. However, the use of very large integers is likely to be relatively expensive. Beyond a certain boundary, which varies among implementations, integers can no longer directly take advantage ...

Get The Dart Programming Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.