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

Brian Goetz brian.goetz at oracle.com
Mon Dec 24 08:54:02 PST 2012


You took the words right out of my mouth!

On 12/24/2012 11:09 AM, 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. 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-experts mailing list