3 ms·
i thought this was going to be about mutating an array that you are iterating (which i can understand calling and anti-pattern) but this is about looping and a
by andrekandre 7y ago
i thought this was going to be about mutating an array that you are iterating (which i can understand calling and anti-pattern)
but this is about looping and appending to a new (already empty) array, and he calls that an anti-pattern...
im not so sure, seems more like "i like this style, so eveything else is an anti-pattern"