Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 310 Bytes

parenthese_conditions.md

File metadata and controls

21 lines (17 loc) · 310 Bytes

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