lua-users home
lua-l archive

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


On Wed, Sep 20, 2006 at 01:50:42PM -0300, Alex Queiroz wrote:
> On 9/20/06, Sam Roberts <sroberts@bycast.com> wrote:
> >keep forgetting, and the fact you have to do function calls with a ()
> >unless the argument is a string (which I keep forgetting), there isn't
> 
>     You can always use () when calling functions to make the syntax
> more familiar. f"alex" and f{1, 2, 3} are syntatic sugars that can be
> ignored.

Except its the other way for me! Not providing () is what I'm familiar
with in dynamic languages, and I like it a lot.

Anyhow, learning when to use a () is NOT the hardest part of learning a
new language.

Sam