Hacker News new | ask | show | jobs
by iainmerrick 2521 days ago
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).

1 comments

By that logic, there's nothing you _need_ generics for.