3 ms·
Findall/collect/each are not replacement for for loop. They only replace special case of for loop where you are not interested in the value of index. In genera
by lmilcin 5y ago
Findall/collect/each are not replacement for for loop. They only replace special case of for loop where you are not interested in the value of index.
In general, applications that just process collections of items and running some logic on them can most of the time get away without using for loops, as is probably your case.