Function type naming conventions (original) (raw)
Paul Sandoz paul.sandoz at oracle.com
Thu Jan 24 01:33:18 PST 2013
- Previous message: Function type naming conventions
- Next message: Function type naming conventions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jan 23, 2013, at 10:20 PM, Brian Goetz <brian.goetz at Oracle.COM> wrote:
Will do the first part tomorrow unless someone strongly objects.
Open issues: - Where multiple rules apply, do we prefer XY or XToY?
XToY, i find the "To" is a useful demarcation.
- Do we like the "drop the arity prefix in case all are specialized" rule tweak?
If it is retained there is a more direct connection to the equivalent boxed version:
ObjIntBiBlock -> BiBlock<T, Integer>
ObjIntToDoubleBiFunction -> BiFunction<U, Integer, Double>
I suppose the alternative is to view Bi as shorthand for ObjObj and ObjObjToObj.
Paul.
- Previous message: Function type naming conventions
- Next message: Function type naming conventions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list