CHAPTER 16

image

A Syntax Summary and Cheat Sheet

In this chapter we want to give you a handy cheat sheet with the syntax learned in this book thus far (see Table 16-1 and Table 16-2). When you learn a new programming language, it is very useful to have such a thing so you can quickly check the main instructions. Here’s the summary of syntax we have learned until now.

Table 16-1. Operators cheat sheet

Negation

[!, -]

Multiplication

[*]

Division

[/]

Integer Division

[~/]

Modulo

[%]

Addition

[+]

Subtraction

[-]

Bitwise left shift

[<<]

Bitwise right shift

[>>]

Greater than

[>]

Greater than or equal to

[>=]

Less than

[<]

Less than or equal to

[<=]

Equal to

[==]

Not equal to Sheet ...

Get Web Programming with Dart now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.