Very interesting topic. What I want to know is *WHY* people are doing this?
Here goes my view - I've used many for loops, and each time I realize
how stupid that is... AFTER I learned how to avoid it. But it's
difficult to avoid them without knowing how to do it. (Monsieur de
LaPalice wouldn't
Tiago R Magalhaes wrote:
For loops are conceptually very easy to understand. Lists are not
easy to understand (why list[[1]] instead of list[1]? it's not
completely intuitive) .
I try to explain it as comparable to the difference between a subset
that consists of one element (the [ function