December 2025
Beginner to intermediate
849 pages
22h 5m
English
Variables are important for at least two reasons: code readability and performance. This chapter provides detailed information about variables and their use. On the other hand, considerations about code readability and performance can be found throughout the book. Indeed, we use variables in almost all code examples in this book—sometimes showing the version with and sometimes the version without variables to let you appreciate how using variables improves readability.
VAR syntaxThe VAR keyword introduces a variable in an expression. VAR defines the variable, followed by the RETURN part, which defines the result. You can see a typical expression containing a variable in the following code: ...
Read now
Unlock full access