For JDK 9, annotating terminal operations?

Paul Benedict pbenedict at apache.org
Tue Oct 8 07:56:29 PDT 2013


I think some people today are not knowing the difference between the
terminal and non-terminal operations. Correct me if wrong, but I believe
the terminal operations are collectively referred to as "reduce".

In any event, if terminal methods had a @Terminal annotation, then
developers and source-code analysis tools would know clearly when the true
work kicks-in.

Any thoughts?

-- 
Cheers,
Paul


More information about the lambda-dev mailing list