-
Book Overview & Buying
-
Table Of Contents
Coding Roblox Games Made Easy, Second Edition - Second Edition
By :
In programming, a variable is a way for your code to hold a piece of information; different types of information are called data types. Variables are convenient because when you create one, you can give it an identifier (a name) so that it may be easily referenced and used later. In many programming languages, these variables are typed; this means that the type of the variable, be it a number or a word, must be decided when it is created.
Luau is a gradually typed language; this means that variables are not typed by default, but you can specify them to be so. For this book, we will not be making use of gradual typing, which was the only option available before the implementation of Luau in Roblox and is more widely used. You can learn more about gradual typing and other features of the Luau language here: https://luau-lang.org/.
It is important that you know what the most common data types are before you begin programming.
...