Function parameter order

Kevin Bourrillion kevinb at google.com
Tue Nov 6 08:58:56 PST 2012


It sounds as though we're planning on Function<ReturnType, InputType>.

I'd just like to note that this is going to put codebases that are in any
stage of migration to JDK types from existing libraries including Guava in
a really, really bad position.

Every time I see Function<A, B> for *years*, I am going to have to check
the imports to find out whether that's A->B or B-A.

I'm not saying this consideration should trump all others. Just noting that
I see this as a very bad problem for my user base.

-- 
Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20121106/78723577/attachment.html 


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