3 ms·
This is a pretty strong case for not adding generics, and I say this as someone who doesn't particularly enjoy the range loops splattered everywhere. What was
by ricardobeat 5y ago
This is a pretty strong case for not adding generics, and I say this as someone who doesn't particularly enjoy the range loops splattered everywhere.
What was pretty straight-forward code, just a bit verbose, becomes a tangle of library functions being composed. It's not shorter, it's not easier to understand, adds dependencies, and most likely will not perform any better. There is nothing gained.