Arc Forumnew | comments | leaders | submitlogin
1 point by akkartik 4671 days ago | link | parent

How do you call functions with zero arguments if (foo) is always equivalent to foo?


1 point by seertaak 4671 days ago | link

Foo will get invoked because it's a function. In _bullet_ functions and primitives are invoked when "solo" on a line. Objects, on the other hand, aren't invoked.

-----

1 point by seertaak 4671 days ago | link

And just to be clear: in bullet, everything that's not a primitive or a function is an object :)

-----