IntStream.sum (original) (raw)
Doug Lea dl at cs.oswego.edu
Wed Jan 16 10:04:37 PST 2013
- Previous message: IntStream.sum
- Next message: Convert old "into" code to the collectors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/16/13 12:53, Remi Forax wrote:
Anyway, i'm clearly in minority and I don't think this issue deserve a long thread, so I'm fine with the long return value.
FWIW, I'm with you on this. I think that if people want to avoid overflow using longs, then they should use longs! Doing this as a convenience here and there just postpones the inevitable, and makes it more likely that an overflow bug elsewhere in people's code will stay hidden.
-Doug
- Previous message: IntStream.sum
- Next message: Convert old "into" code to the collectors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list