Too terse and too alien?

Florian Weimer fweimer at bfk.de
Wed Jun 2 01:26:43 PDT 2010


* Mikael Grev:

> As I think Oracle already know, things like
>
>   myClosure.(1, 5) 
>
> won't fly very well with the general developer. The reasoning behind
> the dot, that the name otherwise lives in the same name space as
> methods, is not understandable by most. And even for me it looks
> like a compiler purists way of reasoning. myClosure(1, 5) is the
> only way. It looks Java (my interpretation if it) and my IDE will
> color/font code it for me to distinguish it from a method call,
> which it isn't completely unrelated to anyway.

Isn't there an ambiguity when the dot is omitted and there's some
syntax for method handles in the language?

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


More information about the lambda-dev mailing list