lua-users home
lua-l archive

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



On 20 Sep 2006, at 18:56, Sam Roberts wrote:

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

Not only dynamic languages -- Eiffel is the same. I also had to get used (again) to use (), but as

x = func
x = func()

clearly do not have the same semantics, I don't see a way around requiring to use () for all function calls. Small deal though! (Even though it prevents implementing the Uniform Access principle.)

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

Right!! Same for // vs. -- ... :-)

With regards
- Stefan