4 ms·
> The first example is not at all good No, it's not, but in my opinion not because of any of the reasons you just stated. Unless you're writing Go, that code s
by atilaneves 8y ago
> The first example is not at all good
No, it's not, but in my opinion not because of any of the reasons you just stated. Unless you're writing Go, that code should have been a fold over addition, or a `sum` function if available in the standard library.