Y
Hacker News
new
|
ask
|
show
|
jobs
by
zzzoom
17 days ago
Bad ergonomics in loops is questionable design, but that loop in particular isn't better than total = reduce(a, +, 0).
1 comments
bmandale
17 days ago
> that loop in particular isn't better than total = reduce(a, +, 0).
it is, in fact, better
link
it is, in fact, better