Re: Dropping requirement for `function` keyword for methods in classes/interfaces/etc
> I am something of a language guru and to me syntax is *extremely*
> important. Am I of the opinion that removing the function keyword from
> the class definition will help? Yes, I am.
I'm missing the help. It saves 9 characters and creates a disjunction
between global function syntax and function-as-method syntax? Sorry, I
can't see this as anything better than neutral.
> And for those who like to grep for method definitions they can keep
> the keyword present.
... in their own code, not in all the code they are forced to maintain
(whether that be newbie sloppy code or super-cool library code).
-- S.
Thread (34 messages)