m
→Order of Operations
(rant on order of operations) |
|||
| Line 85: | Line 85: | ||
==== Order of Operations ==== | ==== Order of Operations ==== | ||
Lua, like | Lua, like many other programming languages, executes expressions from left to right starting from the innermost parenthesis to the outermost. This allows for un-nesting of IF blocks. | ||
-- This: | -- This: | ||
| Line 100: | Line 100: | ||
end | end | ||
: | Note: There are several programming languages that do not read left to right (eg. Joy, Factor, J and K, etc.). Others - like Haskell - can be used both ways. There are even languages that are multi-dimensional. While many of these are mainly academic, they are not esoteric languages made to be weird, but rather based on recent theories and ideas in computer science. | ||
==== Lazy Coding ==== | ==== Lazy Coding ==== | ||