Foo.Of{Int,Long,Double} naming convention

Tim Peierls tim at peierls.net
Mon Dec 24 08:09:46 PST 2012


On Mon, Dec 24, 2012 at 10:47 AM, Remi Forax <forax at univ-mlv.fr> wrote:

> On 12/23/2012 06:44 PM, Brian Goetz wrote:
>
>> Now on the naming, you forget that you can write
>
>   import java.util.function.**MutableReducer.OfInt;
> in that case,
>   OfInt function;
> is unreadable but fully valid.
>

So don't do that.


Also Eclipse does that the import automagically if you ask it to declare a
> local variable using CTRL+SHIFT+1.
>

Fix Eclipse.

--tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20121224/98a570e1/attachment.html 


More information about the lambda-libs-spec-experts mailing list