Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

parenthese_conditions

What it does

Checks for conditions in the form of (expression).

Why this is bad

Lua does not require these, and they are not idiomatic.

Example

if (x) then
repeat until (x)
while (x) do

...should be written as...

if x then
repeat until x
while x do