State of the Lambda
john at milsson.nu
Thu Jul 8 15:07:31 PDT 2010
On Thu, Jul 8, 2010 at 11:50 PM, John Rose <john.r.rose at oracle.com> wrote:
> On Jul 8, 2010, at 12:44 PM, Brian Goetz wrote:
>> What I think you are asking for is something like "field references" to go
>> along with "method references".
> No, I think he means the difference between the unbound String#length() which is of type (String)->int and the bound "myString"#length(), which is of type ()->int. The latter is derived by a partial-application operation from the former.
Ah, yes, that was what I meant. Thanks for the clarification! :)
The cost, for us, of having to resort to strings and reflection is the
lack of IDE-support to find the references when doing refactorings.
Even with the somewhat verbose syntax the current proposal uses it
would be worth it to get rid of that source of problems. Anything that
can be done to make it leaner to the eye would be welcome though.
More information about the lambda-dev