Whitespace is simply the empty space in between anything in a programming language, such as LSL. Whitespace is completely ignored by the LSL compiler
, so different formatting styles can arise. Unfortunately, this also allows scripters to write code that neglects whitespace formatting standards
, often confusing readers.
All of the following examples have the same effect and efficiency, even though their whitespace is different. Note how much easier it is to read the first example.
PLEASE, FOR THE LOVE OF ALL THAT IS HOLY, DO NOT WRITE CODE LIKE THIS.