Data Types
Variables are often assigned data types so that programmers can restrict what can be done with the data. There are numeric types indicated often in many object oriented languages using 'int' keyword. There are also strings or text, boolean for true and false and char to represent a single character. Other languages like JavaScript or Python do not have explicit assigned types but the compiler will interpret the type based on its assigned value.