lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Jim Mathies <Jim@mathies.com> wrote:
> 
> No semicolons! IMHO. Please.  They
> are a waste of source space.

I like using semicolons for clarity in situations where it
is convienent to have single line functions - like getters
and setters on objects:

function Dog:bark() print("woof"); return self; end

Is easier for me to read than:

function Dog:bark() print("woof") return self end

Steve