Foo.Of{Int,Long,Double} naming convention (original) (raw)

Remi Forax forax at univ-mlv.fr
Mon Dec 24 08:20:14 PST 2012


On 12/24/2012 05:09 PM, Tim Peierls wrote:

On Mon, Dec 24, 2012 at 10:47 AM, Remi Forax <forax at univ-mlv.fr_ _<mailto: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.

Not introducing something that is harmful is a better idea.

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

:) I want Eclipse to do that for Map.Entry

--tim

Rémi



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