| ▲ | zzzoom 2 days ago | |
Bad ergonomics in loops is questionable design, but that loop in particular isn't better than total = reduce(a, +, 0). | ||
| ▲ | bmandale 2 days ago | parent [-] | |
> that loop in particular isn't better than total = reduce(a, +, 0). it is, in fact, better | ||