
Jan. 31, 2013
9:31 p.m.
Jason Keene wrote:
Just to be clear, I wasn't suggesting forcing parens for class definitions. Rather make them optional for functions!
That would introduce an asymmetry between function definitions and function calls -- parens would be required in the call but not the definition. And before you say that this asymmetry currently exists between class definitions and class instantiations, it's not the same situation. What goes between the parens in a class definition is the base classes, not the arguments to the constructor. -- Greg