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


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