2013/1/25 deadalnix <deadal...@gmail.com> > Functional style is very painful right now. Function you pass as argument > are executed implicitly, function as variable don't behave like native > ones, and with the new proposal, it add confusion on the function returned. >
I'd like to add a rule which forgotten to mention about optional parentheses for normal functions. > 1. Optional parentheses for normal functions should work shallowly IMO. 1a. Optional parentheses for normal functions is just allowed for the getter usage. int foo(); foo(); // ok foo; // ok, from #1 void bar(int); bar(1); // ok bar = 1; // disallowed, from #1a Kenji Hara