News for hackers. Stuff that matters.
Re:Why Generics? by whateveracct on Wednesday July 31, 2019 @03:58PM (#20577804)
If you're writing loops that build up some accumulator, you could use generics. Even if you don't see that.
Re:Why Generics? by iainmerrick on Wednesday July 31, 2019 @04:25PM (#20578126)
You could use generics for that kind of code, but that doesn’t necessarily mean you need them.

If you’re thinking of functional stream operators, many people think plain imperative iteration is easier to write (and easier to read).

Re:Why Generics? by whateveracct on Wednesday July 31, 2019 @07:01PM (#20579487)
By that logic, there's nothing you _need_ generics for.