This question already has an answer here:
For example when would you use a
Do loop over a
For loop? For which tasks would you use
Scan, et cetera? I'm quite new to Mathematica and I don't really get what the advantages of any of these loops are over the standard
For loop whose use seems to be so harshly discouraged here on StackExchange.