lua-users home
lua-l archive

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


> Except it forces indentation and structure in cases where it's not
> entirely necessary. I like being able to write:
> if x then doThings(x) else doThings(y) end
> instead of:
> if x then
>    doThings(x)
> else
>    doThings(y)

Did you actually work with any significant whitespace language? E.g.
in python both work very well. You can always write all things in one
line if you want to.

What you just cannot do is:

  if x then
doThings(x)
          else
doThings(y)